/* =========================================================
   neue-aussichten — Fastenwandern an der Ostsee
   Design tokens
   ========================================================= */
:root{
  --meer:        #33505C;   /* tiefes Ostsee-Blaugrau */
  --meer-dunkel: #22383F;
  --duene:       #7C8B6C;   /* Dünengras-Grün, Akzent */
  --duene-dunkel:#5E6C4F;
  --sand:        #EFE7D6;   /* warmer Sandton */
  --sand-hell:   #F8F4EA;
  --hintergrund: #FBF9F3;
  --text:        #2B332F;
  --text-hell:   #5B665F;
  --linie:       #DCD2B8;

  --serif: Arial, Helvetica, sans-serif;
  --sans:  Arial, Helvetica, sans-serif;

  --maxbreite: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--hintergrund);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }

h1,h2,h3{
  font-family: var(--serif);
  font-weight: 700;
  color: var(--meer-dunkel);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1{ font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3{ font-size: 1.25rem; }

p{ margin: 0 0 1.1em; }

a{ color: var(--duene-dunkel); text-decoration: none; }
a:hover{ text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--duene);
  outline-offset: 3px;
}

.eyebrow{
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--duene-dunkel);
  font-weight: 600;
  margin-bottom: .6em;
  display:block;
}

.wrap{
  max-width: var(--maxbreite);
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* ---------- Header / Navigation ---------- */
.site-header{
  background: var(--sand-hell);
  border-bottom: 1px solid var(--linie);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap{ position: relative; }
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand{
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--meer-dunkel);
  letter-spacing: .01em;
}
.brand span{ color: var(--duene-dunkel); }
.tagline{
  font-size: 1rem;
  color: var(--text-hell);
  display:block;
  font-family: var(--sans);
  margin-top: .1rem;
}
nav.mainnav ul{
  list-style:none;
  display:flex;
  gap: 1.7rem;
  margin:0; padding:0;
  flex-wrap: wrap;
}
nav.mainnav a{
  color: var(--duene-dunkel);
  font-size: 1.12rem;
  font-weight: 600;
  padding: .3rem 0;
  text-decoration: none;
}
nav.mainnav a:hover,
nav.mainnav a.active{
  color: var(--meer-dunkel);
  font-weight: 800;
  text-decoration: none;
}
.navtoggle{
  display:none;
  background:none;
  border:1px solid var(--linie);
  border-radius:6px;
  padding:.65rem .9rem;
  font-size:2.8rem;
  line-height:1;
  color: var(--meer-dunkel);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 5rem 0 6.5rem;
  background: linear-gradient(180deg, var(--sand-hell) 0%, var(--hintergrund) 100%);
  overflow: hidden;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items:center;
}
.hero h1{ margin-bottom:.35em; }
.hero .lead{
  font-size: 1.15rem;
  color: var(--text-hell);
  max-width: 46ch;
}
.hero-figure{
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  max-height: 640px;
  box-shadow: 0 24px 48px -20px rgba(34,56,63,.35);
}
.hero-figure img{ width:100%; height:100%; object-fit:cover; object-position: top center; }

/* ---------- Vollflächiges Foto-Hero (Startseite) ---------- */
.hero-photo{
  position: relative;
  min-height: 74vh;
  display:flex;
  align-items: flex-start;
  padding-top: 9vh;
  background-size: cover;
  background-position: top center;
}
.hero-photo .wrap{ width:100%; }
.hero-photo .hero-panel{
  max-width: 540px;
}
.hero-photo .eyebrow{
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}
.hero-photo h1{
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.28);
}
.hero-photo .hero-panel .lead{
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
  max-width: 44ch;
}
.hero-infos h1{
  font-size: clamp(2.6rem, 5.5vw, 4rem);
}
.kontakt-hero .eyebrow{
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--meer-dunkel);
  margin-bottom: 1rem;
}
.kontakt-hero .lead{ font-size: 1.4rem; max-width: 34ch; color: var(--text); }
.hero-infos{
  min-height: 0;
  aspect-ratio: 2.79 / 1;
  align-items: center;
  padding-top: 0;
}
@media (max-width: 880px){
  .hero-infos{ aspect-ratio: 4 / 3; }
}

.btn{
  display:inline-block;
  background: var(--meer-dunkel);
  color: #fff;
  padding: .85rem 1.7rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border: none;
  cursor:pointer;
}
.btn:hover{ background: var(--duene-dunkel); text-decoration:none; }
.btn.secondary{
  background: transparent;
  color: var(--meer-dunkel);
  border: 1.5px solid var(--meer-dunkel);
}
.btn.secondary:hover{ background: var(--meer-dunkel); color:#fff; }
.cta-row{ display:flex; gap: 1rem; margin-top: 1.8rem; flex-wrap:wrap; }

/* ---------- Signature: Dünen-Wellenlinie divider ---------- */
.tideline{
  width:100%;
  height: 46px;
  display:block;
  color: var(--sand);
}
.tideline path{ fill: currentColor; }
.section-sand{ background: var(--sand); }
.section-sand + .tideline{ color: var(--sand); }

/* ---------- Generic sections ---------- */
section.block{ padding: 4.5rem 0; }
.section-sand{ padding: 4.5rem 0; }

.section-photo{
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}
.section-photo .wrap{ position:relative; z-index:1; }
.section-photo .eyebrow{
  background: rgba(251,249,243,.9);
  padding: .25em .6em;
  border-radius: 3px;
}
.section-photo h2{
  color: var(--meer-dunkel);
  text-shadow: 0 1px 14px rgba(251,249,243,.9), 0 1px 14px rgba(251,249,243,.9);
}
.section-photo .card,
.section-photo .card h3,
.section-photo .card p{
  color: var(--text);
}
.section-photo .card{
  background: rgba(255,255,255,.96);
}
.section-photo .card h3{ color: var(--meer-dunkel); }

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items:center;
}
.two-col img{ border-radius: 4px; }
.termine-block{ grid-template-columns: .85fr 1.2fr; }
.termine-block .col-media img{
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}
@media (max-width: 880px){
  .termine-block{ grid-template-columns: 1fr; }
}
.two-col.reverse .col-text{ order: 2; }
.two-col.reverse .col-media{ order: 1; }

.card-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.card{
  background: var(--sand-hell);
  border: 1px solid var(--linie);
  border-radius: 6px;
  padding: 1.8rem;
}
.card img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.1rem;
}
.card h3{ margin-bottom:.4em; }
.card .meta{
  font-size:.8rem;
  color: var(--duene-dunkel);
  text-transform: uppercase;
  letter-spacing:.08em;
  font-weight:600;
  margin-bottom:.5rem;
  display:block;
}

.quote{
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--meer-dunkel);
  border-left: 3px solid var(--duene);
  padding-left: 1.3rem;
  margin: 2rem 0;
  font-style: italic;
}

/* ---------- Termine / Anmeldung ---------- */
.info-table{
  width:100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.info-table th,
.info-table td{
  text-align:left;
  padding: .7rem .5rem;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}
.info-table th{
  width: 34%;
  color: var(--text-hell);
  font-weight: 600;
  font-size: .9rem;
}

/* ---------- Angebot cards ---------- */
.angebot-card{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items:center;
  background:#fff;
  border:1px solid var(--linie);
  border-radius: 6px;
  overflow:hidden;
  margin-bottom: 2rem;
}
.angebot-card img{ height:100%; width:100%; object-fit:cover; }
.angebot-card .content{ padding: 1.6rem 1.8rem 1.6rem 0; }

/* ---------- Galerie ---------- */
.gallery{
  columns: 3 220px;
  column-gap: 1rem;
}
.gallery figure{
  margin: 0 0 1rem;
  break-inside: avoid;
  border-radius: 4px;
  overflow:hidden;
}
.gallery img{ width:100%; }

/* ---------- Kontakt ---------- */
.kontakt-grid{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3rem;
}
.kontakt-info{
  background: var(--meer-dunkel);
  color: #E9EFE9;
  padding: 2.2rem;
  border-radius: 6px;
  height: fit-content;
}
.kontakt-info h3{ color:#fff; }
.kontakt-info a{ color:#fff; text-decoration:underline; }
.kontakt-info .zeile{ margin-bottom: .9rem; font-size: .95rem; }

form.kontaktform{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
form.kontaktform .full{ grid-column: 1 / -1; }
form.kontaktform label{
  display:block;
  font-size: .82rem;
  font-weight:600;
  color: var(--text-hell);
  margin-bottom: .35rem;
}
form.kontaktform input,
form.kontaktform textarea{
  width:100%;
  padding: .7rem .8rem;
  border: 1px solid var(--linie);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: .95rem;
  background:#fff;
  color: var(--text);
}
form.kontaktform textarea{ resize: vertical; min-height: 120px; }

.formular-status{
  padding: .9rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1.4rem;
  font-size:.92rem;
}
.formular-status.erfolg{ background:#E4EEDF; color: var(--duene-dunkel); border:1px solid var(--duene); }
.formular-status.fehler{ background:#F6E4DE; color:#8A3A22; border:1px solid #C97B5A; }

/* ---------- Footer ---------- */
footer.site-footer{
  background: var(--meer-dunkel);
  color: #C9D3CC;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
footer.site-footer .wrap{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
footer.site-footer h4{
  color:#fff;
  font-family: var(--serif);
  font-weight:500;
  margin: 0 0 .8rem;
}
footer.site-footer a{ color:#C9D3CC; }
footer.site-footer a:hover{ color:#fff; }
footer.site-footer ul{ list-style:none; padding:0; margin:0; }
footer.site-footer li{ margin-bottom:.5rem; font-size:.92rem; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  font-size: .82rem;
  color: #93A398;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: .6rem;
}

/* ---------- Legal pages ---------- */
.legal h2{ margin-top: 2rem; }
.legal h3{ margin-top: 1.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 880px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-figure{ order:-1; }
  .two-col{ grid-template-columns: 1fr; }
  .two-col.reverse .col-text{ order:1; }
  .two-col.reverse .col-media{ order:2; }
  .card-grid{ grid-template-columns: 1fr 1fr; }
  .angebot-card{ grid-template-columns: 1fr; }
  .angebot-card .content{ padding: 0 1.4rem 1.4rem; }
  .kontakt-grid{ grid-template-columns: 1fr; }
  form.kontaktform{ grid-template-columns: 1fr; }
  footer.site-footer .wrap{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .site-header .wrap{ flex-wrap: wrap; gap: .6rem; }
  .brand-link{ flex: 0 1 auto; min-width:0; }
  .navtoggle{ flex: 0 0 auto; }
  .brand{
    font-size: 1.6rem;
    display:block;
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .tagline{ font-size: .8rem; }
  .navtoggle{ font-size: 1.6rem; padding: .4rem .55rem; flex-shrink:0; }
  .navtoggle{ display:inline-block; }
  nav.mainnav{ display:none; }
  nav.mainnav.open{
    display:block;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background: var(--sand-hell);
    border-top:1px solid var(--linie);
    box-shadow:0 12px 24px -12px rgba(34,56,63,.25);
    padding: .4rem 1.6rem .8rem;
    z-index:60;
  }
  nav.mainnav ul{ flex-direction:column; gap: .2rem; padding: .8rem 0; }
  .card-grid{ grid-template-columns: 1fr; }
  .gallery{ columns: 2 160px; }
  footer.site-footer .wrap{ grid-template-columns: 1fr; }
  .hero-photo{ min-height: 60vh; }
  .hero-photo .hero-panel{ padding: 1.7rem 1.5rem; max-width: none; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}
