
/* GuestNest-Erfurt — Modernisierung 2026. Ergänzung zur vorhandenen style.css */
:root{--forest:#163e33;--forest2:#0b2922;--cream:#fbf8f2;--sand:#e9dfd0;--gold:#c9a46a;--ink:#202d27}
html{scroll-padding-top:88px}
body{background:var(--cream);color:var(--ink)}
a,button,input,select,textarea{transition:background-color .2s,border-color .2s,box-shadow .2s,transform .2s}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c9a46a;outline-offset:3px}
.topbar{background:rgba(9,34,27,.93);backdrop-filter:blur(12px);box-shadow:0 1px 0 #ffffff21}
.nav{min-height:88px}
nav a{font-weight:600;letter-spacing:.01em}
nav a:hover{color:#f0cf93}
.hero{min-height:700px;background:#102d25}
.hero-shade{background:linear-gradient(100deg,rgba(5,25,19,.95),rgba(5,25,19,.84) 47%,rgba(5,25,19,.40))}
.hero-content{display:grid;grid-template-columns:1.03fr .97fr;gap:clamp(28px,5vw,80px);align-items:center;padding-top:145px;padding-bottom:95px}
.hero-copy{max-width:640px}
.hero h1{font-size:clamp(3.15rem,5vw,5.8rem);letter-spacing:-.035em}
.hero-copy>p:not(.eyebrow){max-width:520px;color:#e2e9df;font-size:1.13rem;line-height:1.85}
.hero-photo{position:relative;min-width:0}
.hero-photo:before{content:"";position:absolute;inset:18px -14px -14px 18px;border:1px solid #d8b87985;border-radius:22px;pointer-events:none}
.hero-photo img{display:block;width:100%;height:430px;object-fit:cover;border-radius:22px;box-shadow:0 28px 80px #0006}
.eyebrow{letter-spacing:.2em}
.btn{border-radius:8px;padding:16px 25px}
.hero .btn-primary,.submit{background:var(--gold);color:#172a20}
.hero .btn-primary:hover,.submit:hover{background:#e4c28c;transform:translateY(-2px)}
.btn-outline{border-color:#e5d1ae}
.features{padding:29px 0;background:#efe8dd;border-bottom:1px solid #ded4c6}
.feature-grid>div{justify-content:center;gap:15px}
.feature-grid span{font-size:.89rem}
.section{padding-top:100px;padding-bottom:95px}
.section h2{letter-spacing:-.025em}
.lead{line-height:1.8}
.room-grid{gap:25px}
.room{display:flex;flex-direction:column;border:1px solid #e9e3d9;border-radius:19px;box-shadow:0 12px 38px #18352a10;transition:transform .25s,box-shadow .25s}
.room:hover{transform:translateY(-6px);box-shadow:0 22px 52px #18352a20}
.room img{height:245px}
.room-body{padding:28px;display:flex;flex-direction:column;flex:1}
.room-kicker{color:#9a7541!important;text-transform:uppercase;font-weight:700;font-size:.72rem;letter-spacing:.13em;margin:0 0 12px!important}
.room-body h3{font-size:1.55rem;min-height:3.2rem}
.room-amenities{font-size:.86rem;color:#607167!important;line-height:1.7;margin:8px 0 14px!important;min-height:3rem}
.room-body .price{margin-top:auto!important;font-size:1.9rem;color:var(--forest)!important}
.room-body a{display:block;text-align:center;background:var(--forest);color:white;padding:14px 12px;border-radius:8px;margin-top:8px}
.room-body a:hover{background:#275c47}
.pricing-note{border-left:3px solid var(--gold);background:#f0eae0;border-radius:8px;padding:21px 25px;margin-top:18px}
.gallery-section{padding-top:70px}
.gallery-grid{gap:14px}
.gallery-grid a{border-radius:12px}
.location{background:#f0e8dd}
.location-text{padding-top:70px;padding-bottom:70px}
.location-text p{line-height:1.85}
.booking-section{background:radial-gradient(circle at 0 0,#245041 0,#0b2922 55%);padding:105px 0}
.booking-layout{gap:clamp(25px,5vw,75px);grid-template-columns:.85fr 1.15fr}
.booking-intro{position:sticky;top:110px}
.booking-intro h2{letter-spacing:-.03em}
.booking-note{border-left-color:var(--gold);border-radius:0 8px 8px 0;line-height:1.75}
.form-card{border-radius:22px;padding:clamp(22px,3.5vw,42px);box-shadow:0 28px 75px #0003}
.form-heading{border-bottom:1px solid #e8e4dc;padding-bottom:20px;margin-bottom:26px}
.form-step{font-size:.72rem;font-weight:800;letter-spacing:.17em;color:#9a7541}
.form-heading h3{font-size:1.65rem;margin:9px 0}
.form-heading p{font-size:.88rem;color:#617167;margin:0}
.form-group-title{font-weight:800;color:#244d3b;font-size:.81rem;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid #eee7dd;padding:15px 0 9px}
form{gap:18px}
form label{color:#32443a;gap:8px}
input:not([type=checkbox]),select,textarea{border:1px solid #d7dfd8;border-radius:10px;background:#fcfcfa;padding:14px;min-height:49px}
input:not([type=checkbox]):focus,select:focus,textarea:focus{border-color:#c9a46a;outline:2px solid #c9a46a50;outline-offset:0;background:white}
input[type=date]{color-scheme:light}
.consent{font-size:.82rem}
.consent input{accent-color:#1b4b39}
.submit{min-height:58px;font-size:1rem;box-shadow:0 8px 24px #c9a46a3b}
footer{background:#081e19}
.footer-grid h3{color:#e9cf9c}
.footer-grid a:hover{color:#e9cf9c}
@media(max-width:1000px){.hero-content{gap:30px}.hero-photo img{height:360px}.booking-layout{gap:35px}}
@media(max-width:760px){.hero{min-height:auto}.hero-content{grid-template-columns:1fr;padding-top:145px;padding-bottom:65px}.hero-photo img{height:300px}.hero h1{font-size:clamp(2.8rem,8vw,4.6rem)}.booking-intro{position:static}.booking-layout{grid-template-columns:1fr}.feature-grid>div{justify-content:flex-start}}
@media(max-width:680px){.nav{min-height:74px}nav{top:74px}.hero-content{padding-top:130px}.hero-photo img{height:260px}.hero-photo:before{inset:10px -8px -8px 10px}.room-body h3{min-height:0}.room-amenities{min-height:0}.section,.booking-section{padding-top:65px;padding-bottom:65px}.form-card{padding:23px}.feature-grid{gap:22px}.feature-grid>div{font-size:1.65rem}.feature-grid span{font-size:.79rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Footer: Buchungshinweis unter dem Logo statt in der Kontaktspalte */
.footer-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,.65fr);gap:clamp(24px,4vw,64px)}
.footer-booking-note{max-width:420px;margin-top:20px;line-height:1.75;color:#d4dfd8;font-size:.92rem}
.footer-grid>div{min-width:0}
@media(max-width:760px){.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-booking-note{max-width:540px}}
@media(max-width:480px){.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}

/* Mobile form fix: iOS date controls must not overflow the form card. */
.booking-section, .booking-layout, .form-card, .form-card form,
.form-card .two, .form-card label {min-width:0;max-width:100%;}
.form-card, .form-card * {box-sizing:border-box;}
.form-card input:not([type="checkbox"]), .form-card select, .form-card textarea {
  display:block;width:100%;min-width:0;max-width:100%;
}
@media(max-width:760px){
  .booking-layout{display:grid;grid-template-columns:minmax(0,1fr);width:100%;}
  .form-card{width:100%;max-width:100%;min-width:0;overflow:hidden;}
  .form-card .two{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;}
  .form-card .two>label{display:block;min-width:0;width:100%;}
  .form-card input[type="date"]{width:100%;min-width:0;max-width:100%;-webkit-appearance:auto;appearance:auto;}
}

/* iPhone Safari: date controls have a native intrinsic minimum width.
   Keep the booking card inset and constrain every form/grid track. */
@media (max-width: 760px) {
  .booking-section { overflow-x: clip; }
  .booking-section > .wrap,
  .booking-layout { width: calc(100% - 32px) !important; max-width: 100% !important; margin-inline: auto !important; }
  .booking-layout { display: block !important; }
  .booking-intro { margin-bottom: 28px; }
  .form-card { width: 100% !important; max-width: 100% !important; padding: 20px !important; border-radius: 18px; }
  .form-card form, .form-card .two { display: grid !important; grid-template-columns: minmax(0,1fr) !important; min-width: 0 !important; width: 100% !important; }
  .form-card label { display: grid !important; grid-template-columns: minmax(0,1fr) !important; width: 100% !important; min-width: 0 !important; }
  .form-card input:not([type="checkbox"]),
  .form-card input[type="date"],
  .form-card select, .form-card textarea {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 16px !important;
  }
  .form-card input[type="date"] { -webkit-appearance: none !important; appearance: none !important; height: 52px !important; padding: 10px 12px !important; }
  .form-heading h3 { font-size: clamp(1.35rem, 5.5vw, 1.65rem); overflow-wrap: anywhere; }
}

/* Klar erfassbare Ausstattungsübersicht */
.amenity-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:30px 0 24px}
.amenity-highlight{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid #e8e0d3;border-radius:13px;padding:17px 15px;min-width:0;box-shadow:0 5px 18px #19372a0a}
.amenity-icon{flex:0 0 39px;display:grid;place-items:center;width:39px;height:39px;background:#f3e9d8;border-radius:10px;color:#244b39;font-size:1.35rem;line-height:1}
.amenity-highlight span:last-child{min-width:0}
.amenity-highlight strong{display:block;color:#244b39;font-size:.9rem;line-height:1.35}
.amenity-highlight small{display:block;color:#667369;font-size:.77rem;line-height:1.5;margin-top:4px}
@media(max-width:850px){.amenity-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.amenity-highlights{grid-template-columns:1fr;gap:10px}.amenity-highlight{padding:13px 14px}.amenity-icon{width:37px;height:37px;flex-basis:37px}}

/* Dezente, einheitliche Linien-Icons statt Emoji-Glyphen */
.amenity-icon{background:#f4eddf;color:#254938;border:1px solid #ddc69c;border-radius:10px}
.amenity-icon svg{width:23px;height:23px;display:block;flex:none}
.amenity-highlight{background:#fffefa;border-color:#e5d9c7}


/* FIX: Icon-Größe unabhängig von anderen CSS-Regeln strikt begrenzen. */
.amenity-highlights .amenity-highlight .amenity-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.amenity-highlights .amenity-highlight .amenity-icon svg {
  display: block !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  position: static !important;
  transform: none !important;
}
