@import url('../assets/schriften/schriften.css');

:root{
  --bg-dark-1:#FAF7EF;
  --bg-dark-2:#F3EDDF;
  --grad:linear-gradient(100deg,#8B5E34,#C9A15A);
  --grad-text:#2A2117;
  --gold:#8B5E34;
  --gold-text:#FFFFFF;
  --sage:#6B7A4F;
  --sage-text:#FFFFFF;
  --cream:#2A2117;
  --cream-dim:#5A5040;
  --text-light:#2A2117;
  --text-muted:#5A5040;
  --text-faint:#6E6352; /* v100: Kontrast */
  --radius:10px;
  --radius-sm:8px;
  --maxw:1120px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter', sans-serif;
  font-size:17px;
  background:linear-gradient(160deg,var(--bg-dark-1),var(--bg-dark-2));
  background-attachment:fixed;
  color:var(--text-light);
  line-height:1.65;
}
h1,h2,h3{
  font-family:'Playfair Display', serif;
  margin:0 0 0.5em;
  font-weight:700;
  line-height:1.15;
  text-transform:uppercase;
  letter-spacing:1px;
}
a{color:#8B5E34; text-decoration:none;}
a:hover{text-decoration:underline;}
img{max-width:100%; display:block;}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
body{background:var(--bg-dark-1);}

/* Layout mit Seitenleiste */
.layout{display:flex; align-items:flex-start;}
.sidebar{
  width:220px; flex-shrink:0; min-height:100vh;
  background:#2A2117; border-right:1px solid #DED3BD;
  padding:28px 20px; position:sticky; top:0;
  display:flex; flex-direction:column;
}
.sidebar .brand{display:flex; align-items:center; gap:10px; margin-bottom:36px;}
.sidebar .logo-slot{
  width:36px; height:36px; border-radius:8px;
  background:rgba(0,0,0,0.04); border:1px dashed #B5A788;
  display:flex; align-items:center; justify-content:center;
  font-size:8px; color:var(--text-muted); text-align:center;
}
.sidebar .name{font-family:'Playfair Display', serif; font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:-0.2px; line-height:1.2;}
.side-nav{display:flex; flex-direction:column; gap:2px;}
.side-nav a{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:8px; font-size:13px;
  color:var(--text-muted); text-transform:none; letter-spacing:0;
}
.side-nav a:hover{background:#161219; color:var(--text-light); text-decoration:none;}
.side-nav .dot{width:5px; height:5px; border-radius:50%; background:var(--grad); flex-shrink:0;}
.sidebar-footer{margin-top:auto; padding-top:24px; border-top:1px solid #DED3BD; display:flex; flex-direction:column; gap:6px;}
.sidebar-footer a{font-size:11px; color:var(--text-faint); text-transform:none;}
.sidebar-footer a:hover{color:var(--text-muted); text-decoration:none;}
.main-content{flex:1; min-width:0;}

/* Header */
header.site{
  padding:28px 0 20px;
  border-bottom:1px solid #DED3BD;
}
header.site .wrap{display:flex; align-items:center; justify-content:space-between;}
.brand{display:flex; align-items:center; gap:12px;}
.brand .logo-slot{
  width:44px; height:44px; border-radius:10px;
  background:rgba(0,0,0,0.04); border:1px dashed #B5A788;
  display:flex; align-items:center; justify-content:center;
  font-size:9px; color:var(--text-muted); text-align:center;
}
.brand .name{font-family:'Playfair Display', serif; font-weight:700; font-size:18px; text-transform:uppercase; letter-spacing:-0.3px;}
nav.main a{
  color:var(--text-light); font-size:13px; margin-left:28px; opacity:0.8; text-transform:uppercase; letter-spacing:0.3px;
}
nav.main a:hover{opacity:1; text-decoration:none; color:#C9C9D1;}
.btn-mobile-nav{display:none;}

/* Hero */
.hero{padding:64px 0 56px;}
.hero h1{
  font-size:48px; max-width:640px;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{font-size:18px; color:var(--text-muted); max-width:480px; margin-bottom:28px; text-transform:none; font-weight:400;}

.btn{
  display:inline-block; font-size:13px; font-weight:700; padding:13px 24px;
  border-radius:8px; cursor:pointer; border:none; font-family:'Inter',sans-serif;
  text-transform:uppercase; letter-spacing:0.3px;
}
.btn-gold{background:var(--grad); color:#FFFFFF;}
.btn-gold:hover{filter:brightness(1.1); text-decoration:none;}
.btn-outline{background:transparent; color:var(--text-light); border:1px solid #B5A788;}
.btn-outline:hover{border-color:#8B5E34; color:#8B5E34; text-decoration:none;}

/* Section headers */
.section{padding:38px 0;}
.section-label{font-size:12px; color:var(--text-muted); letter-spacing:1px; margin-bottom:6px; text-transform:uppercase; font-weight:600;}
.section h2{font-size:30px; max-width:560px;}
.section p.sub{font-size:16px; color:var(--text-muted); max-width:520px; margin-bottom:36px; text-transform:none; font-weight:400;}

/* Card grid */
.grid{display:grid; gap:10px;}
.grid-3{grid-template-columns:repeat(auto-fit, minmax(190px,1fr));}
.grid-2{grid-template-columns:repeat(auto-fit, minmax(220px,1fr));}

.card{
  background-color:#FFFFFF;
  border:1px solid transparent;
  background-image:linear-gradient(#FFFFFF,#FFFFFF), var(--grad);
  background-origin:border-box;
  background-clip:padding-box, border-box;
  border-radius:10px;
  padding:16px 15px;
  transition:filter 0.15s ease;
}
.card:hover{filter:brightness(1.15);}
.card h3{font-size:13.5px; margin-bottom:5px; letter-spacing:-0.1px;}
.card p{font-size:12px; color:var(--text-muted); margin:0; line-height:1.5;}
.card .icon{
  width:32px; height:32px; border-radius:50%; background:var(--grad);
  color:#000; display:flex; align-items:center; justify-content:center;
  font-size:14px; margin-bottom:10px; font-weight:700;
}

/* Pricing */
.price-card{
  background:#FFFFFF;
  border:1px solid #DED3BD;
  border-radius:10px;
  padding:18px 16px;
  display:flex; flex-direction:column;
}
.price-card.featured{
  border:1px solid transparent;
  background:linear-gradient(#FFFFFF,#FFFFFF) padding-box, var(--grad) border-box;
}
.price-card .tag{
  font-size:10px; color:#000; background:var(--grad);
  border-radius:5px; padding:2px 8px; display:inline-block; width:fit-content; margin-bottom:10px; font-weight:700;
}
.price-card h3{font-size:14px; margin-bottom:2px; text-transform:uppercase; letter-spacing:0.3px;}
.price-card .price{font-family:'Playfair Display', serif; font-weight:700; font-size:21px; margin:6px 0 2px; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; display:inline-block;}
.price-card .price span{font-size:11px; font-family:'Inter', sans-serif; color:var(--text-muted); font-weight:400; -webkit-text-fill-color:var(--text-muted);}
.price-card ul{list-style:none; padding:0; margin:10px 0 14px; flex:1;}
.price-card ul li{font-size:12px; color:var(--text-muted); padding:3px 0; padding-left:16px; position:relative;}
.price-card ul li::before{content:"+"; position:absolute; left:0; color:#C9C9D1; font-weight:700;}

.setup-note{font-size:13px; color:var(--text-faint); margin-top:20px;}

/* Pakete als breite Zeilen */
.paket-liste{display:flex; flex-direction:column; gap:10px;}
.paket-row{
  display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
  background-color:#FFFFFF; border:1px solid transparent;
  background-image:linear-gradient(#FFFFFF,#FFFFFF), var(--grad);
  background-origin:border-box;
  background-clip:padding-box, border-box;
  border-radius:10px;
  padding:20px 24px;
  transition:filter 0.15s ease;
}
.paket-row:hover{filter:brightness(1.15);}
.paket-row.featured{
  border:2px solid transparent;
  background-image:linear-gradient(#FFFFFF,#FFFFFF), var(--grad);
}
.paket-info{flex:1; min-width:220px;}
.paket-tag{
  font-size:10px; color:#000; background:var(--grad);
  border-radius:5px; padding:2px 8px; display:inline-block; margin-bottom:6px; font-weight:700;
}
.paket-info h3{font-size:16px; margin:0 0 6px; text-transform:uppercase; letter-spacing:0.3px;}
.paket-info p{font-size:12.5px; color:var(--text-muted); margin:0; line-height:1.6;}
.paket-preis{white-space:nowrap; text-align:right;}
.preis-zahl{font-family:'Playfair Display', serif; font-weight:700; font-size:22px; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;}
.preis-einheit{font-size:11px; color:var(--text-muted); display:block;}

/* Zusatzangebote - schmale Kästchen mit Rand statt breiter Kacheln */
.addon-liste{max-width:560px; margin:0 auto; display:flex; flex-direction:column; gap:8px;}
.addon-row{
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:14px 16px; border:1px solid transparent; border-radius:8px;
  background-image:linear-gradient(#FFFFFF,#FFFFFF), var(--grad);
  background-origin:border-box;
  background-clip:padding-box, border-box;
  transition:filter 0.15s ease;
}
.addon-row:hover{filter:brightness(1.15);}
.addon-titel h3{font-size:14.5px; margin:0 0 4px; text-transform:none; letter-spacing:0;}
.addon-titel p{font-size:12.5px; color:var(--text-muted); margin:0; max-width:360px;}
.addon-preis{
  font-family:'Playfair Display', serif; font-weight:700; font-size:15px; white-space:nowrap;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* Foto add-on */
.addon{
  background:#FFFFFF;
  border:1px solid #DED3BD;
  border-radius:10px;
  padding:24px;
  display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;
}
.addon h3{font-size:16px; margin-bottom:4px;}
.addon p{color:var(--text-muted); font-size:13.5px; margin:0; max-width:420px;}
.addon .price-tag{font-family:'Playfair Display', serif; font-weight:700; font-size:20px; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; white-space:nowrap;}

/* Referenzen */
.ref-tile{
  background:#FFFFFF;
  border:1px solid transparent;
  background-image:linear-gradient(#FFFFFF,#FFFFFF), var(--grad);
  background-origin:border-box;
  background-clip:padding-box, border-box;
  border-radius:10px;
  padding:14px 16px;
  display:flex; gap:12px; align-items:center;
  transition:filter 0.15s ease;
}
.ref-tile:hover{filter:brightness(1.15);}
.ref-tile.placeholder{
  background-image:none;
  background:transparent;
  border:1px dashed #B5A788;
}
.ref-logo{
  width:42px; height:42px; border-radius:9px; background:var(--grad);
  color:#000; font-family:'Playfair Display', serif; font-weight:700; font-size:15px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.ref-logo.empty{background:rgba(0,0,0,0.04);}
.ref-tile h3{font-size:14px; margin:0 0 3px; letter-spacing:-0.1px;}
.ref-tile .badge{
  font-size:9.5px; border-radius:5px; padding:2px 8px; display:inline-block; margin-top:3px; font-weight:700;
}
.badge-gastro{background:var(--grad); color:#000;}
.badge-handwerk{background:#00F0FF; color:#00232A;}
.ref-tile a.view{font-size:11px; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; display:inline-block; margin-top:4px; font-weight:700;}

/* Form */
form.leadform{
  background:rgba(0,0,0,0.03);
  border:0.5px solid rgba(0,0,0,0.12);
  border-radius:var(--radius);
  padding:32px;
  max-width:600px;
  margin:0 auto;
}
.leadform-reservierung{
  background:#FFF9EF;
  border:0.5px solid rgba(255,255,255,0.25);
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
}
.leadform-reservierung .field input, .leadform-reservierung .field select, .leadform-reservierung .field textarea{
  background:rgba(0,0,0,0.04);
  border:0.5px solid rgba(0,0,0,0.15);
  color:var(--text-light);
}
.field{margin-bottom:18px;}
.field label{display:block; font-size:13px; color:var(--text-muted); margin-bottom:6px;}
.field input[type="checkbox"]{
  width:16px; height:16px; accent-color:#00F0FF;
  border:1px solid rgba(28,60,140,0.6); border-radius:4px;
}
.field input, .field select, .field textarea{
  width:100%; padding:10px 12px; border-radius:var(--radius-sm);
  border:0.5px solid rgba(0,0,0,0.2); background:rgba(0,0,0,0.15);
  color:var(--text-light); font-family:inherit; font-size:14px;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold);
}
.field-row{display:flex; gap:14px;}
.field-row .field{flex:1;}
.form-note{font-size:12px; color:var(--text-faint); margin-top:14px;}

/* Footer */
footer.site{
  border-top:0.5px solid rgba(0,0,0,0.1);
  padding:32px 0; margin-top:40px;
}
footer.site .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; align-items:center;}
footer.site .legal a{font-size:13px; color:var(--text-muted); margin-right:20px;}
footer.site .legal a:hover{color:var(--gold);}
footer.site .credit{font-size:12px; color:var(--text-faint);}

/* powered-by strip (used on tenant pages) */
.powered-by{
  text-align:center; font-size:12px; color:var(--text-faint); padding:14px 0;
}
.powered-by a{color:var(--text-muted);}

@media (max-width:860px){
  .layout{flex-direction:column;}
  .sidebar{
    width:100%; min-height:auto; position:relative;
    flex-direction:row; align-items:center; justify-content:space-between;
    padding:16px 20px; gap:16px;
  }
  .sidebar .brand{margin-bottom:0;}
  .side-nav{flex-direction:row; gap:4px; overflow-x:auto;}
  .side-nav a{padding:8px 10px; white-space:nowrap;}
  .sidebar-footer{display:none;}
  .hero h1{font-size:30px;}
  .field-row{flex-direction:column;}
}

/* v100: Formularfelder – gut lesbar, einheitlich, iPad/iPhone-tauglich (Datum/Uhrzeit gleich hoch, kein Zoomen) */
.field input, .field select, .field textarea{
  box-sizing:border-box; min-height:48px; font-size:16px; line-height:1.4;
  background:#FFFFFF; border:1px solid #9C8F7A; color:#221D16;
  -webkit-appearance:none; appearance:none; border-radius:8px;
}
.leadform-reservierung .field input, .leadform-reservierung .field select, .leadform-reservierung .field textarea{background:#FFFFFF; border:1px solid #9C8F7A; color:#221D16;}
.field textarea{min-height:96px;}
.field input[type="date"], .field input[type="time"]{display:block; width:100%; min-width:0; text-align:left;}
.field input::-webkit-date-and-time-value{text-align:left;}
.field input[type="checkbox"]{-webkit-appearance:auto; appearance:auto; min-height:0; width:22px; height:22px; accent-color:#8B5E34; flex:none;}
.field select{background-image:linear-gradient(45deg, transparent 50%, #5E5446 50%), linear-gradient(135deg, #5E5446 50%, transparent 50%); background-position:calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size:5px 5px; background-repeat:no-repeat; padding-right:34px;}
.field input:focus, .field select:focus, .field textarea:focus{border-color:#8B5E34; box-shadow:0 0 0 3px rgba(139,94,52,.22);}
.field label{color:#4A4034; font-size:14px;}
.field-row .field{min-width:0;}
::placeholder{color:#7A6F60; opacity:1;}
:focus-visible{outline:3px solid #1A5FB4; outline-offset:2px;}
.sprunglink{position:absolute; left:-9999px; top:8px; z-index:1000; background:#221D16; color:#fff; padding:10px 14px; border-radius:8px;}
.sprunglink:focus{left:8px;}
@media (prefers-reduced-motion:reduce){ *{scroll-behavior:auto !important; transition:none !important; animation:none !important;} }
input[type="checkbox"]{width:22px; height:22px; accent-color:#8B5E34; flex:none;}
