/* ===========================================
   mehr.bei.dir – Styles (Logo-angepasst)
   - Warmes Creme-Layout
   - Rosé/Beige Akzent
   - Taupe Text
   - Logo zentriert im Header
   =========================================== */

/* ---- CSS Reset / Basis ---- */
:root{
  --bg: #fbf6f2;                /* creme */
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #807060;             /* taupe (aus Logo) */
  --primary: #f0d0c0;           /* rosé/beige (aus Logo) */
  --primary-strong: #d8b19f;    /* etwas kräftiger */
  --border: #eadfd9;            /* warme Linie */
  --shadow: 0 12px 30px rgba(43, 43, 43, 0.06);
  --radius: 18px;

  --focus: rgba(216, 177, 159, 0.35);
  --maxw: 1100px;

  --header-bg: rgba(251, 246, 242, 0.86);
  --header-blur: 12px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

a{ color: inherit; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px;
}

/* ---- Typography ---- */
h1, h2, h3{
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}

h1{
  font-size: clamp(26px, 3.3vw, 40px);
}

p{ margin: 0 0 12px; color: var(--text); }
.hint{ color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---- Header (Logo zentriert) ---- */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(var(--header-blur));
  border-bottom: 1px solid var(--border);
}

.header__inner{
  display: flex;
  flex-direction: column;          /* Logo oben, Navi unten */
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 10px;
}

/* Brand / Logo */
.brand{
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand__logo{
  height: 86px;                    /* zentriertes Logo prominent */
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.06));
}

/* ---- Navigation zentriert ---- */
.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a{
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 14px;
  transition: background .2s ease, color .2s ease, transform .12s ease;
}

.nav a:hover{
  background: rgba(240, 208, 192, 0.20);
  color: var(--text);
  transform: translateY(-1px);
}

.nav a:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* CTA (Buchung) */
.nav__cta{
  background: var(--primary);
  color: #3a2f2a !important;
  font-weight: 800;
  border: 1px solid rgba(216, 177, 159, 0.55);
  box-shadow: 0 10px 20px rgba(216, 177, 159, 0.22);
}

.nav__cta:hover{
  background: var(--primary-strong);
  color: #ffffff !important;
}

/* ---- Cards / Layout ---- */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.grid--2{
  grid-template-columns: 1fr 1fr;
}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

/* ---- Buttons ---- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: var(--primary);
  color: #3a2f2a;
  text-decoration: none;
  border: 1px solid rgba(216, 177, 159, 0.55);

  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;

  box-shadow: 0 10px 20px rgba(216, 177, 159, 0.20);
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}

.btn:hover{
  background: var(--primary-strong);
  color: #fff;
  box-shadow: 0 12px 22px rgba(216, 177, 159, 0.26);
  transform: translateY(-1px);
}

.btn:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn--ghost{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  box-shadow: none;
}

.btn--ghost:hover{
  background: rgba(240, 208, 192, 0.15);
  color: var(--text);
  transform: translateY(-1px);
}

/* ---- Forms ---- */
.form{ display: grid; gap: 12px; }

label{
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--text);
}

input, textarea, select{
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: box-shadow .15s ease, border-color .15s ease;
}

input:focus, textarea:focus, select:focus{
  outline: none;
  border-color: rgba(216, 177, 159, 0.85);
  box-shadow: 0 0 0 4px var(--focus);
}

textarea{ resize: vertical; min-height: 120px; }

/* ---- Hero (optional, falls du eine Hero Section nutzt) ---- */
.hero{
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
}

.hero__content p{
  color: var(--muted);
  font-size: 18px;
}

.hero__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ---- Footer ---- */
.footer{
  border-top: 1px solid var(--border);
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.55);
}

.footer__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
}

.footer__links{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a{
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover{
  color: var(--text);
  text-decoration: underline;
}

/* ---- FullCalendar (leichter, logo-passender Look) ---- */
#calendar{
  --fc-border-color: var(--border);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(240, 208, 192, 0.10);
  --fc-today-bg-color: rgba(240, 208, 192, 0.20);
}

.fc{
  font-size: 0.95rem;
}

.fc .fc-toolbar-title{
  font-weight: 900;
  letter-spacing: 0.2px;
}

.fc .fc-button{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 12px;
  padding: 6px 10px;
}

.fc .fc-button:hover{
  background: rgba(240, 208, 192, 0.15);
  color: var(--text);
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active{
  background: var(--primary);
  border-color: rgba(216, 177, 159, 0.55);
  color: #3a2f2a;
}

.fc .fc-daygrid-day-number{
  color: var(--muted);
}

.fc .fc-event{
  border: 0;
  border-radius: 12px;
  padding: 2px 6px;
  box-shadow: 0 8px 16px rgba(216, 177, 159, 0.16);
}

.fc .fc-event-title{
  font-weight: 800;
}

/* ---------- Über mich: Portrait links, Cards gleiche Höhe ---------- */
.about{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  margin-top: 18px;

  /* Wichtig: beide Grid-Items werden auf gleiche Höhe gestreckt */
  align-items: stretch;
}

/* beide Cards sollen die volle Zeilenhöhe annehmen */
.about__portrait,
.about__text{
  height: 100%;
}

/* Portrait-Card als Flex-Container, damit das Bild die Höhe füllt */
.about__portrait{
  display: flex;
  flex-direction: column;
  padding: 14px;
  margin: 0;
}

/* Bild füllt die Card-Höhe (bis auf Caption), bleibt sauber gecroppt */
.about__portrait img{
  width: 100%;
  flex: 1;                       /* nimmt den verfügbaren Platz ein */
  min-height: 0;                 /* wichtig für Flex-Overflow in manchen Browsern */
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(43, 43, 43, 0.08);
}

/* Caption bleibt unten, ohne die Höhe „zu sprengen“ */
.about__portrait figcaption{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}




/* ---- Responsive ---- */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }

  .brand__logo{
    height: 72px;
  }

  .container{
    padding: 18px;
  }
}

@media (max-width: 420px){
