
:root{
  --bg:#f7f3ed;
  --paper:#fffdf8;
  --ink:#2d2925;
  --muted:#6f675f;
  --line:#e3d8cc;
  --accent:#8a4b32;
  --accent-soft:#efe2d6;
  --nav:#2f261f;
  --nav-ink:#f8efe5;
  --shadow:0 18px 45px rgba(46,35,26,.10);
  --radius:18px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Segoe UI", Roboto, Arial, sans-serif;
  font-size:17px;
  line-height:1.72;
  font-weight:400;
  color:var(--ink);
  background:
    radial-gradient(circle at top left, rgba(138,75,50,.10), transparent 35%),
    linear-gradient(180deg,#fbf7f1 0%, var(--bg) 55%, #efe7dd 100%);
}

a{
  color:var(--accent);
  text-decoration:none;
  border-bottom:1px solid rgba(138,75,50,.25);
}

a:hover{
  border-bottom-color:var(--accent);
}

.site-shell{
  min-height:100vh;
}

.header{
  background:linear-gradient(135deg,#31251d 0%,#4a3023 65%,#6a3d2a 100%);
  color:var(--nav-ink);
  padding:34px 24px 28px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.header-inner{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.brand a,
.brand-title{
  color:var(--nav-ink);
  border:0;
  font-size:34px;
  line-height:1.05;
  font-weight:300;
  letter-spacing:.02em;
}

.brand-subtitle{
  color:#decbb9;
  font-size:15px;
  font-weight:300;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.nav a{
  color:#f7efe7;
  border:1px solid rgba(255,255,255,.16);
  padding:8px 13px;
  border-radius:999px;
  font-size:14px;
  font-weight:400;
  background:rgba(255,255,255,.05);
}

.nav a:hover{
  background:rgba(255,255,255,.12);
}

.hero{
  max-width:1180px;
  margin:34px auto 0;
  padding:0 24px;
}

.hero-card{
  background:rgba(255,253,248,.86);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:34px;
}

.hero h1{
  margin:0 0 10px;
  font-size:42px;
  line-height:1.15;
  font-weight:300;
  letter-spacing:-.025em;
}

.hero p{
  margin:0;
  color:var(--muted);
  max-width:760px;
}

.layout{
  max-width:1180px;
  margin:28px auto 60px;
  padding:0 24px;
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:24px;
}

.content,
main.content{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:38px;
  box-shadow:var(--shadow);
}

.content > *:first-child{
  margin-top:0;
}

h1,h2,h3{
  color:#2e271f;
  letter-spacing:-.015em;
}

h1{
  font-size:38px;
  line-height:1.18;
  font-weight:300;
  margin:0 0 24px;
}

h2{
  font-size:27px;
  line-height:1.25;
  font-weight:400;
  margin:42px 0 14px;
  padding-top:4px;
}

h3{
  font-size:21px;
  line-height:1.35;
  font-weight:400;
  margin:30px 0 10px;
}

p{
  margin:0 0 18px;
}

ul,ol{
  padding-left:1.35rem;
  margin:0 0 22px;
}

li{
  margin:.35rem 0;
}

table{
  width:100%;
  border-collapse:collapse;
  margin:24px 0;
  background:#fffaf4;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}

td,th{
  border-bottom:1px solid var(--line);
  padding:10px 12px;
  vertical-align:top;
}

th{
  text-align:left;
  font-weight:500;
  background:var(--accent-soft);
}

img{
  max-width:100%;
  height:auto;
  border-radius:12px;
}

hr{
  border:0;
  border-top:1px solid var(--line);
  margin:32px 0;
}

.note,
.info,
.wichtig{
  background:#fff6e9;
  border-left:4px solid #b26d3d;
  padding:16px 18px;
  border-radius:12px;
  margin:24px 0;
}

.footer{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px 42px;
  color:var(--muted);
  font-size:14px;
}

.footer a{
  color:var(--muted);
  border-bottom-color:rgba(111,103,95,.25);
}

@media (max-width:760px){
  body{font-size:16px}
  .header-inner{
    align-items:flex-start;
    flex-direction:column;
  }
  .nav{
    justify-content:flex-start;
  }
  .brand a,.brand-title{
    font-size:29px;
  }
  .hero{
    margin-top:20px;
  }
  .hero-card,.content,main.content{
    padding:24px;
    border-radius:14px;
  }
  .hero h1,h1{
    font-size:31px;
  }
  h2{
    font-size:24px;
  }
}


/* Dynamische Trennlinien */
.modern-divider{
    border:0;
    height:1px;
    background:linear-gradient(to right, transparent, #ccb8a3, transparent);
    margin:32px 0;
    width:100%;
}

table{
    max-width:100%;
}

img{
    max-width:100%;
    height:auto;
}
