/*
Theme Name: Freidurchatmen HESSENCE
Theme URI: https://freidurchatmen.de/
Author: Robert Bayer / Freidurchatmen
Description: Gutenberg-freundliches Theme fuer Freidurchatmen und HESSENCE. Bestehende Beitraege bleiben erhalten. Enthalten sind HESSENCE, Catering, Dinnerkochen, Eiswagen, Weihnachtsmarkt, Buch, Vortraege, Spenden, Kontakt und Rechtstexte als editierbare Seiten.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: freidurchatmen-hessence
*/

:root{
  --fd-green:#173B35;
  --fd-cream:#F5EFE3;
  --fd-gold:#B88A3B;
  --fd-terra:#B65F3C;
  --fd-ink:#292A28;
  --fd-white:#FFFDF8;
  --fd-muted:#6E716D;
  --fd-radius:22px;
  --fd-shadow:0 18px 45px rgba(25,28,26,.10);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--fd-white);
  color:var(--fd-ink);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.65;
}

a{
  color:var(--fd-green);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

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

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

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,253,248,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(23,59,53,.08);
}

.header-inner{
  max-width:1200px;
  margin:auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  gap:28px;
}

.brand{
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.55rem;
  letter-spacing:.08em;
  color:var(--fd-green);
  font-weight:700;
}

.primary-nav{
  margin-left:auto;
}

.primary-nav ul{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
}

.primary-nav a{
  font-size:.92rem;
  font-weight:700;
  color:var(--fd-ink);
}

.header-cta{
  background:var(--fd-terra);
  color:white!important;
  padding:10px 16px;
  border-radius:999px;
}

.menu-toggle{
  display:none;
}

.site-main{
  overflow:hidden;
}

.fd-container{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}

.fd-hero{
  position:relative;
  min-height:76vh;
  display:grid;
  place-items:center;
  background:
    linear-gradient(90deg,rgba(23,59,53,.92),rgba(23,59,53,.62)),
    url('assets/images/radreise-coast.jpeg') center/cover;
  color:#fff;
}

.fd-hero-inner{
  width:min(1180px,calc(100% - 40px));
  margin:auto;
  padding:90px 0;
}

.fd-kicker{
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:.78rem;
  font-weight:800;
  color:#dcb56f;
}

.fd-hero h1,
.fd-section h2,
.fd-page-title{
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.06;
}

.fd-hero h1{
  font-size:clamp(3rem,7vw,6.5rem);
  max-width:900px;
  margin:.25em 0;
}

.fd-hero p{
  font-size:clamp(1.08rem,2vw,1.35rem);
  max-width:720px;
}

.fd-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

.fd-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 20px;
  border-radius:999px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
}

.fd-btn-primary{
  background:var(--fd-terra);
  color:#fff;
}

.fd-btn-secondary{
  background:transparent;
  color:inherit;
  border-color:currentColor;
}

.fd-section{
  padding:84px 0;
}

.fd-section.alt{
  background:var(--fd-cream);
}

.fd-section.dark{
  background:var(--fd-green);
  color:#fff;
}

.fd-section h2{
  font-size:clamp(2.2rem,4.5vw,4rem);
  margin:0 0 18px;
}

.fd-lead{
  font-size:1.2rem;
  max-width:780px;
}

.fd-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.fd-grid.two{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.fd-card{
  background:#fff;
  border-radius:var(--fd-radius);
  padding:28px;
  box-shadow:var(--fd-shadow);
  border:1px solid rgba(23,59,53,.08);
}

.dark .fd-card{
  color:var(--fd-ink);
}

.fd-card h3{
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.8rem;
  margin-top:0;
}

.fd-media-card{
  padding:0;
  overflow:hidden;
}

.fd-media-card img{
  width:100%;
  height:300px;
  object-fit:cover;
  display:block;
}

.fd-media-card .fd-card-body{
  padding:26px;
}

.fd-band{
  position:relative;
  background:
    linear-gradient(90deg,rgba(15,18,17,.88),rgba(15,18,17,.35)),
    url('assets/images/hessence-cart-concept.jpeg') center/cover;
  color:#fff;
  min-height:560px;
  display:flex;
  align-items:center;
}

.fd-band .fd-band-content{
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}

.fd-band .fd-band-copy{
  max-width:560px;
}

.fd-price{
  font-size:2.3rem;
  font-weight:900;
  color:var(--fd-terra);
}

.fd-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:.86rem;
}

.fd-status.available{
  background:#e6f2ec;
  color:#245a44;
}

.fd-status.booked{
  background:#ececea;
  color:#666;
}

.fd-status.pending{
  background:#fff2df;
  color:#8a5a13;
}

.fd-table{
  width:100%;
  border-collapse:collapse;
}

.fd-table th,
.fd-table td{
  text-align:left;
  padding:14px;
  border-bottom:1px solid rgba(23,59,53,.12);
}

.fd-table tr:last-child td{
  border-bottom:0;
}

.fd-form{
  display:grid;
  gap:16px;
}

.fd-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.fd-form label{
  font-weight:700;
  font-size:.92rem;
}

.fd-form input,
.fd-form select,
.fd-form textarea{
  width:100%;
  margin-top:6px;
  padding:12px 14px;
  border:1px solid #cfd4cf;
  border-radius:12px;
  background:#fff;
  font:inherit;
}

.fd-form textarea{
  min-height:140px;
  resize:vertical;
}

.fd-notice{
  padding:14px 16px;
  border-radius:14px;
  background:#f4f7f5;
  border-left:4px solid var(--fd-green);
}

.fd-legal{
  max-width:860px;
  margin:auto;
}

.fd-legal h2,
.fd-legal h3{
  font-family:Georgia,"Times New Roman",serif;
}

.fd-footer{
  background:#111815;
  color:#e8eee9;
  padding:56px 0 24px;
}

.fd-footer a{
  color:#fff;
}

.fd-footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:28px;
}

.fd-small{
  font-size:.9rem;
  color:var(--fd-muted);
}

.fd-image-row{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:26px;
  align-items:center;
}

.fd-image-row img{
  border-radius:var(--fd-radius);
  box-shadow:var(--fd-shadow);
}

.fd-book-cover{
  max-height:620px;
  object-fit:contain;
  background:#fff;
}

.fd-press{
  border-left:4px solid var(--fd-gold);
  padding-left:20px;
}

.entry-content>:where(:not(.alignfull):not(.alignwide)){
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

.entry-content>.alignwide{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}

.entry-content>.alignfull{
  max-width:none;
}

.wp-block-button__link{
  border-radius:999px;
}

.screen-reader-text{
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media(max-width:900px){

  .primary-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--fd-white);
    padding:18px 24px;
    border-bottom:1px solid #ddd;
  }

  .primary-nav.open{
    display:block;
  }

  .primary-nav ul{
    display:grid;
  }

  .menu-toggle{
    display:inline-flex;
    margin-left:auto;
  }

  .fd-grid,
  .fd-grid.two,
  .fd-image-row,
  .fd-footer-grid,
  .fd-form-grid{
    grid-template-columns:1fr;
  }

  .fd-hero{
    min-height:68vh;
  }

  .fd-section{
    padding:62px 0;
  }

  .fd-band{
    min-height:520px;
    background-position:center;
  }

  .fd-media-card img{
    height:250px;
  }
}

/* Menue-Button komplett ausblenden */
.menu-toggle.fd-btn{
  display:none!important;
}