/* =========================================================
   Pfotenwache – Stylesheet
   Farbkonzept: Petrol (Vertrauen/Autorität) + Bernstein-Gold
   (Wärme/Abzeichen) + Creme (Geborgenheit) + Koralle (Notfall)
   ========================================================= */

:root {
  /* Marke */
  --petrol:        #0d4a57;
  --petrol-dark:   #08323b;
  --petrol-deep:   #062932;
  --petrol-soft:   #1c6675;
  --gold:          #e8a13a;
  --gold-soft:     #f3c069;
  --gold-deep:     #c97f1c;
  --coral:         #e3573f;
  --coral-dark:    #c8412b;

  /* Neutrale */
  --cream:         #fbf6ec;
  --cream-2:       #f5ecdb;
  --cream-3:       #efe3cd;
  --white:         #ffffff;
  --ink:           #18282d;
  --ink-soft:      #3a4b50;
  --muted:         #65767b;
  --line:          #e7dcc8;

  /* Effekte */
  --shadow-sm:  0 2px 8px rgba(8, 50, 59, .07);
  --shadow-md:  0 14px 34px -12px rgba(8, 50, 59, .22);
  --shadow-lg:  0 30px 60px -22px rgba(8, 50, 59, .34);
  --radius:     18px;
  --radius-lg:  26px;
  --radius-sm:  12px;

  --container: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============ Reset / Basis ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--petrol-dark);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--cream-2); }

/* ============ Buttons ============ */
.btn {
  --bg: var(--petrol);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn--lg { padding: 1rem 1.7rem; font-size: 1.04rem; }
.btn--block { width: 100%; }

.btn--alarm { --bg: var(--coral); }
.btn--alarm:hover { --bg: var(--coral-dark); }

.btn--gold { --bg: var(--gold); --fg: #3a2607; }
.btn--gold:hover { --bg: var(--gold-soft); }

.btn--ghost {
  --bg: transparent; --fg: var(--petrol);
  box-shadow: inset 0 0 0 2px rgba(13, 74, 87, .22);
}
.btn--ghost:hover { --bg: rgba(13, 74, 87, .06); box-shadow: inset 0 0 0 2px rgba(13, 74, 87, .4); }

.btn--ghost-light {
  --bg: transparent; --fg: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
}
.btn--ghost-light:hover { --bg: rgba(255, 255, 255, .12); }

/* ============ Topbar ============ */
.topbar {
  background: var(--petrol-deep);
  color: var(--cream);
  font-size: .85rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .5rem; flex-wrap: wrap;
}
.topbar__text { display: flex; align-items: center; gap: .5rem; color: #d6e4e7; }
.topbar__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--gold-soft);
}
.topbar__phone:hover { color: #fff; }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 0 rgba(227, 87, 63, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 87, 63, .55); }
  70% { box-shadow: 0 0 0 9px rgba(227, 87, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 87, 63, 0); }
}

/* ============ Navigation ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 236, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__name {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.32rem;
  color: var(--petrol-dark); letter-spacing: -.01em;
}
.brand__name span { color: var(--gold-deep); }

.nav__links {
  display: flex; gap: 1.6rem; margin-inline: auto;
  font-weight: 500; font-size: .97rem;
}
.nav__links a { color: var(--ink-soft); position: relative; padding-block: .3rem; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); border-radius: 2px; transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--petrol); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; gap: .6rem; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .4rem;
}
.nav__toggle span {
  width: 26px; height: 2.5px; background: var(--petrol-dark); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none; /* Standard: ausgeblendet (auch auf Desktop) */
  flex-direction: column; gap: .25rem;
  padding: .8rem clamp(1.1rem, 4vw, 2rem) calc(1.4rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--cream);
  max-height: calc(100dvh - 58px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu a { padding: .7rem .4rem; font-weight: 500; color: var(--ink-soft); border-radius: 8px; }
.mobile-menu a:hover { background: var(--cream-3); color: var(--petrol); }
.mobile-menu .btn { margin-top: .6rem; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; }
.blob--1 { width: 520px; height: 520px; top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(232,161,58,.55), transparent 70%); }
.blob--2 { width: 460px; height: 460px; bottom: -200px; left: -160px;
  background: radial-gradient(circle, rgba(28,102,117,.4), transparent 70%); }
.paw-deco { position: absolute; font-size: 2.2rem; opacity: .12; }
.paw-deco--1 { top: 16%; left: 6%; transform: rotate(-18deg); }
.paw-deco--2 { bottom: 20%; right: 8%; transform: rotate(14deg); font-size: 3rem; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--white); border: 1px solid var(--line);
  padding: .45rem .9rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--petrol);
  box-shadow: var(--shadow-sm); margin-bottom: 1.3rem;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600; margin-bottom: 1.1rem;
}
.hero__title .hl { color: var(--gold-deep); position: relative; white-space: nowrap; }
.hero__title .hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em;
  background: var(--gold); opacity: .28; border-radius: 4px; z-index: -1;
}

.hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-soft); max-width: 36rem; margin-bottom: 1.8rem;
}
.hero__lead strong { color: var(--petrol); }

.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; }
.hero__trust li { display: flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.hero__trust svg { width: 20px; height: 20px; color: var(--petrol-soft);
  background: rgba(28,102,117,.12); border-radius: 50%; padding: 3px; }

/* Hero visual */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.emblem-card {
  background: linear-gradient(160deg, var(--petrol), var(--petrol-deep));
  border-radius: var(--radius-lg); padding: 2.6rem 2.2rem;
  display: grid; place-items: center; gap: 1.2rem;
  box-shadow: var(--shadow-lg); text-align: center;
  position: relative; z-index: 1;
  width: min(330px, 80%);
}
.emblem-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(243,192,105,.35); pointer-events: none;
}
.emblem { filter: drop-shadow(0 12px 24px rgba(0,0,0,.3)); animation: floaty 5s ease-in-out infinite; }
.emblem-card__motto {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 1.08rem;
  color: var(--gold-soft);
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  background: var(--white); border-radius: 14px;
  padding: .7rem .9rem; box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.float-card__icon { font-size: 1.5rem; }
.float-card strong { display: block; font-size: .86rem; color: var(--petrol-dark); }
.float-card span { font-size: .78rem; color: var(--muted); }
.float-card--rescue { top: 6%; left: -2%; animation: floaty 6s ease-in-out infinite; }
.float-card--chip { bottom: 8%; right: -4%; animation: floaty 6s ease-in-out infinite .8s; }

/* ============ Grundsätze (Promise-Band) ============ */
.promise { background: var(--petrol); color: #fff; padding: clamp(2.4rem, 5vw, 3.4rem) 0; }
.promise__lead {
  text-align: center; max-width: 48rem; margin: 0 auto 2.2rem;
  color: #cfe1e4; font-size: 1.08rem;
}
.promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.promise__item { text-align: center; display: grid; gap: .35rem; padding: 0 .6rem; position: relative; }
.promise__item:not(:last-child)::after {
  content: ''; position: absolute; right: -.75rem; top: 16%; bottom: 16%;
  width: 1px; background: rgba(255,255,255,.16);
}
.promise__icon { font-size: 1.9rem; line-height: 1; }
.promise__item strong {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.2rem; color: var(--gold-soft);
}
.promise__item span { font-size: .92rem; color: #c9dde0; }

/* ============ Section heads ============ */
.kicker {
  display: inline-block; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-deep); margin-bottom: .7rem;
}
.kicker--light { color: var(--gold-soft); }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .8rem; }
.section__title--light { color: #fff; }
.section__head { max-width: 42rem; margin-bottom: 3rem; }
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* ============ Mission ============ */
.mission__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mission__text p { color: var(--ink-soft); margin-bottom: 1rem; }
.mission__text p strong { color: var(--petrol); }
.mission__pillars { display: grid; gap: 1rem; margin-top: 1.8rem; }
.pillar { display: flex; gap: .9rem; align-items: flex-start; }
.pillar__icon {
  font-size: 1.4rem; background: var(--cream-2); border: 1px solid var(--line);
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
}
.pillar strong { color: var(--petrol-dark); font-size: 1.05rem; }
.pillar p { font-size: .94rem; color: var(--muted); margin: 0; }

.quote-card {
  background: linear-gradient(165deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-radius: var(--radius-lg); padding: 2.4rem 2rem 2rem;
  box-shadow: var(--shadow-md); position: relative; color: #3a2607;
}
.quote-card__mark {
  font-family: 'Fraunces', serif; font-size: 5rem; line-height: .6;
  color: rgba(255,255,255,.55); display: block; height: 2rem;
}
.quote-card p { font-family: 'Fraunces', serif; font-size: 1.3rem; line-height: 1.4; font-weight: 500; margin-bottom: 1.6rem; }
.quote-card__by { display: flex; align-items: center; gap: .7rem; }
.quote-card__by img { background: rgba(255,255,255,.5); border-radius: 10px; padding: 3px; }
.quote-card__by strong { display: block; font-size: .95rem; }
.quote-card__by span { font-size: .82rem; opacity: .8; }

/* ============ Services / Cards ============ */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card__icon {
  font-size: 1.7rem; width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--cream-2);
}
.card:hover .card__icon { background: var(--gold-soft); }
.card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card--wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center;
  background: linear-gradient(120deg, var(--petrol) 0%, var(--petrol-dark) 100%); border: 0; }
.card--wide .card__icon { margin: 0; background: rgba(255,255,255,.12); }
.card--wide h3 { color: #fff; }
.card--wide p { color: #c9dde0; max-width: 60ch; }
.card--wide:hover .card__icon { background: var(--gold); }

/* ============ Process / Timeline ============ */
.timeline { display: grid; gap: 0; position: relative; max-width: 760px; margin-inline: auto; }
.timeline__step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding-bottom: 2rem; position: relative;
}
.timeline__step::before {
  content: ''; position: absolute; left: 27px; top: 56px; bottom: -6px; width: 2px;
  background: linear-gradient(var(--gold), var(--cream-3));
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step:last-child::before { display: none; }
.timeline__num {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--petrol); color: #fff;
  display: grid; place-items: center; z-index: 1;
  font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600;
  box-shadow: 0 0 0 6px var(--cream);
}
.timeline__step:nth-child(odd) .timeline__num { background: var(--gold); color: #3a2607; }
.timeline__body { padding-top: .35rem; }
.timeline__body h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.timeline__body p { color: var(--muted); }

/* ============ Involve ============ */
.involve__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.involve-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.4rem; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.involve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.involve-card__icon {
  font-size: 2rem; width: 70px; height: 70px; margin: 0 auto 1rem;
  background: var(--cream-2); border-radius: 50%; display: grid; place-items: center;
}
.involve-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.involve-card p { color: var(--muted); font-size: .93rem; }
.involve__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.6rem; }

/* ============ Donate ============ */
.donate { background: linear-gradient(155deg, var(--petrol) 0%, var(--petrol-deep) 100%); color: #fff; }
.donate__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.donate__text p { color: #c9dde0; font-size: 1.05rem; margin-bottom: 1.6rem; }
.donate__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-bottom: 1.8rem; }
.tier {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm); padding: 1.1rem .8rem; text-align: center; color: #fff;
  display: grid; gap: .2rem; position: relative;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.tier:hover, .tier.is-active { transform: translateY(-4px); background: rgba(232,161,58,.18); border-color: var(--gold); }
.tier--featured { border-color: var(--gold); background: rgba(232,161,58,.14); }
.tier__badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #3a2607; font-size: .68rem; font-weight: 700;
  padding: .15rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
}
.tier__amount { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 600; color: var(--gold-soft); }
.tier__desc { font-size: .82rem; color: #c9dde0; }

.donate__contact { margin-top: 1rem; font-size: .92rem; color: #c9dde0; }
.donate__contact a { color: var(--gold-soft); font-weight: 600; text-decoration: underline; }
.donate__contact a:hover { color: #fff; }

.donate__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 2rem 1.8rem; backdrop-filter: blur(6px);
}
.donate__card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 1.1rem; }
.donate__note { font-size: .82rem; color: #9fb6ba; margin-top: 1.2rem; }

.check-list { display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: #dce9eb; font-size: .96rem; }
.check-list li::before {
  content: '✓'; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  background: var(--gold); color: #3a2607; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* ============ FAQ ============ */
.faq__inner { max-width: 820px; margin-inline: auto; }
.faq .section__head { margin-inline: auto; text-align: center; }
.accordion { display: grid; gap: .8rem; }
.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .25s var(--ease); }
.acc-item.is-open { box-shadow: var(--shadow-sm); border-color: var(--gold-soft); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; background: none; border: 0; text-align: left;
  font-family: 'Fraunces', serif; font-size: 1.08rem; font-weight: 500; color: var(--petrol-dark);
}
.acc-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; background: var(--gold-deep); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2.5px; }
.acc-icon::after { left: 8px; top: 0; width: 2.5px; height: 18px; }
.acc-item.is-open .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-panel p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ============ Contact ============ */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact__info p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; }
.contact-list__icon {
  font-size: 1.3rem; width: 48px; height: 48px; flex-shrink: 0;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 14px;
  display: grid; place-items: center;
}
.contact-list strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--petrol-dark); font-weight: 600; }
.contact-list a:hover { color: var(--gold-deep); }

.contact__form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-row label { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.form-row input, .form-row select, .form-row textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(232,161,58,.16);
}
.form-row textarea { resize: vertical; }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.form-success {
  margin-top: 1rem; padding: .9rem 1rem; background: rgba(45,140,90,.12);
  border: 1px solid rgba(45,140,90,.35); border-radius: 12px;
  color: #1d6b46; font-weight: 600; text-align: center;
}
.form-error {
  margin-top: 1rem; padding: .9rem 1rem; background: rgba(200,65,43,.1);
  border: 1px solid rgba(200,65,43,.4); border-radius: 12px;
  color: var(--coral-dark); font-weight: 600; text-align: center;
}

/* Einwilligungs-Checkbox */
.form-check { display: flex; gap: .6rem; align-items: flex-start; margin: .2rem 0 1.1rem; }
.form-check input { margin-top: .25rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--coral); }
.form-check label { font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.form-check a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; }

/* Honeypot – für Menschen unsichtbar, für Bots ein Köder */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ============ Rechtsseiten (Impressum/Datenschutz) ============ */
.legal-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,246,236,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.legal-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.legal { max-width: 800px; padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.4rem; }
.legal h2 {
  font-size: 1.25rem; margin: 2rem 0 .6rem;
  padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--petrol);
}
.legal p, .legal li { color: var(--ink-soft); margin-bottom: .7rem; line-height: 1.7; }
.legal ul { margin: 0 0 1rem 1.2rem; list-style: disc; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--gold-deep); text-decoration: underline; }
.legal a:hover { color: var(--petrol); }
.legal code { background: var(--cream-3); padding: .1rem .4rem; border-radius: 6px; font-size: .9em; }
.legal-note {
  background: #fff6e6; border: 1px solid var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.8rem; font-size: .92rem; color: var(--ink-soft);
}
.legal-note strong { color: var(--gold-deep); }
.legal-back { margin-top: 2rem; font-weight: 600; }
.legal-back a { text-decoration: none; }
.legal-footer { background: var(--petrol-deep); color: #9fb6ba; padding-block: 1.4rem; font-size: .87rem; text-align: center; }
.legal-footer a { color: var(--gold-soft); }

/* ============ CTA-Band ============ */
.cta-band { background: var(--gold); padding: clamp(2.6rem, 6vw, 4rem) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; flex-wrap: wrap; }
.cta-band h2 { color: #3a2607; font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 28ch; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============ Footer ============ */
.footer { background: var(--petrol-deep); color: #c9dde0; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name span { color: var(--gold-soft); }
.footer__brand p { margin: 1rem 0 1.2rem; font-size: .94rem; max-width: 32ch; color: #9fb6ba; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff;
  transition: background .25s, transform .25s;
}
.footer__social a:hover { background: var(--gold); color: #3a2607; transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.footer__col a, .footer__muted { display: block; color: #9fb6ba; font-size: .93rem; padding-block: .3rem; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__muted { color: #7e979b; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; flex-wrap: wrap;
  padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; color: #7e979b;
}
.footer__legal a:hover { color: var(--gold-soft); }
.footer__credit { flex: 1 1 auto; text-align: center; min-width: 230px; }
.footer__credit a { color: var(--gold-soft); font-weight: 600; }
.footer__credit a:hover { color: #fff; }
.footer__heart { color: var(--coral); font-style: normal; display: inline-block; animation: heartbeat 1.8s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.22); } 24% { transform: scale(1); } 36% { transform: scale(1.18); } }

/* Credit im Footer der Rechtsseiten */
.legal-footer .legal-credit { margin-top: .35rem; opacity: .85; }
.legal-footer .legal-credit a { color: var(--gold-soft); font-weight: 600; }
.legal-footer .footer__heart { font-size: .95em; }

/* ============ FAB (mobiler Notfall-Button) ============ */
.fab {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: max(18px, env(safe-area-inset-right));
  z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: none; place-items: center;
  box-shadow: 0 12px 26px -6px rgba(227,87,63,.6);
  animation: pulse-coral 2.4s infinite;
}
@keyframes pulse-coral {
  0% { box-shadow: 0 12px 26px -6px rgba(227,87,63,.6), 0 0 0 0 rgba(227,87,63,.45); }
  70% { box-shadow: 0 12px 26px -6px rgba(227,87,63,.6), 0 0 0 16px rgba(227,87,63,0); }
  100% { box-shadow: 0 12px 26px -6px rgba(227,87,63,.6), 0 0 0 0 rgba(227,87,63,0); }
}

/* ============ Scroll-Reveal ============ */
/* Nur einblenden/verstecken, wenn JavaScript aktiv ist – sonst sind
   alle Inhalte sofort sichtbar (Robustheit & Barrierefreiheit). */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  /* Mobil-Menü nur hier sichtbar – und nur, wenn per JS geöffnet (kein [hidden]) */
  .mobile-menu:not([hidden]) { display: flex; }

  /* Hero: zuerst die Botschaft + Aktion, danach das Wappen */
  .hero__inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero__content { order: 0; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { order: 1; min-height: 0; }
  /* Schwebende Karten innerhalb der Bildfläche halten (kein Überstand) */
  .float-card--rescue { top: -2%; left: 0; }
  .float-card--chip { bottom: -2%; right: 0; }

  .mission__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
  .involve__grid { grid-template-columns: repeat(2, 1fr); }
  .donate__inner, .contact__grid { grid-template-columns: 1fr; }
  .promise__grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .promise__item:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .fab { display: grid; }
}

@media (max-width: 560px) {
  .topbar { font-size: .8rem; }
  .topbar__inner { justify-content: center; text-align: center; gap: .35rem .9rem; }

  /* Abschnittsköpfe etwas kompakter */
  .section__head { margin-bottom: 2rem; }

  /* Hero: Buttons volle Breite, gut tippbar – kein abgeschnittener Text */
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__title { font-size: clamp(2.15rem, 9vw, 2.6rem); }
  .hero__title .hl { white-space: normal; }
  .hero__trust { gap: .7rem 1.2rem; }

  /* Wappen kompakt, dekorative Schwebe-Karten ausblenden (entzerrt) */
  .hero__visual { min-height: 0; }
  .emblem-card { width: min(300px, 90%); padding: 2.1rem 1.6rem; }
  .float-card { display: none; }

  .cards, .card--wide, .involve__grid, .donate__tiers { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr; }

  /* Mitmachen-Buttons gestapelt, volle Breite */
  .involve__cta { flex-direction: column; align-items: stretch; }
  .involve__cta .btn { width: 100%; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
