/* ==========================================================
   Ergotherapie con Amor
   components.css

   Enthält:
   - Header und Navigation
   - Hero
   - Buttons
   - Merkmalsleiste
   - Karten und Inhaltskomponenten
   - Lebenslauf / Timeline
   - Praxisinformationen
   - Karte
   - Kontaktformular
   - Footer

   Responsive Anpassungen bleiben vorerst separat.
   ========================================================== */


/* ==========================================================
   1. Header und Navigation
   ========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background:
    rgba(255, 255, 255, 0.96);

  border-bottom:
    1px solid var(--color-border);

  backdrop-filter: blur(12px);
}

.nav-wrapper {
  display: flex;
  min-height: 82px;

  align-items: center;
  justify-content: space-between;

  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--color-primary-dark);
  text-decoration: none;
}

.brand img {
  width: 66px;
  height: 66px;

  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1.1;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 4px;

  color: var(--color-teal);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-navigation a {
  padding: 10px 11px;

  color: var(--color-text);
  border-radius: var(--radius-small);

  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.site-navigation a:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.language-switcher {
  display: inline-flex;
  overflow: hidden;

  margin-left: 8px;

  background: var(--color-primary-soft);
  border: 1px solid var(--color-pink);
  border-radius: 999px;
}

.language-button {
  min-width: 46px;
  padding: 8px 12px;

  color: var(--color-primary-dark);
  background: transparent;

  border: 0;

  font-size: 0.85rem;
  font-weight: 800;

  cursor: pointer;
}

.language-button.active {
  color: var(--color-white);
  background: var(--color-primary);
}

.menu-button {
  display: none;

  width: 46px;
  height: 46px;

  color: var(--color-primary);
  background: var(--color-primary-soft);

  border: 0;
  border-radius: 50%;

  font-size: 1.4rem;
  cursor: pointer;
}


/* ==========================================================
   2. Hero
   ========================================================== */

.hero {
  padding: 60px 0;

  background:
    linear-gradient(90deg,
      rgba(252, 239, 245, 0.95) 0%,
      rgba(255, 255, 255, 0.98) 58%,
      rgba(227, 245, 241, 0.72) 100%);
}

.hero-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr) minmax(320px, 0.85fr);

  gap: 58px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-kicker {
  display: inline-block;

  margin: 0 0 18px;
  padding: 5px 12px;

  color: var(--color-teal-dark);
  background: var(--color-teal-soft);

  border:
    1px solid rgba(20, 143, 121, 0.35);

  border-radius: 999px;

  font-size: 0.82rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 18px;

  color: var(--color-violet);
  line-height: 1.18;
}

.hero-title-first,
.hero-title-second {
  display: block;
}

.hero-title-second {
  color: var(--color-primary);
}

.hero-description {
  max-width: 590px;
  margin-bottom: 0;

  color: var(--color-text-light);

  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 26px;
}

.hero-logo-card {
  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 345px;
  padding: 28px;

  background:
    rgba(255, 255, 255, 0.93);

  border:
    1px solid rgba(231, 154, 187, 0.48);

  border-radius: 34px;

  box-shadow:
    0 18px 38px rgba(79, 34, 72, 0.14);
}

.hero-logo-card img {
  width: min(100%, 340px);
  max-height: 300px;

  object-fit: contain;
}


/* ==========================================================
   3. Schaltflächen
   ========================================================== */

.button {
  display: inline-flex;

  min-height: 48px;
  padding: 12px 20px;

  align-items: center;
  justify-content: center;

  color: var(--color-white);
  background: var(--color-primary);

  border: 2px solid var(--color-primary);
  border-radius: 999px;

  font-weight: 700;
  text-align: center;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);

  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--color-teal-dark);
  background: transparent;

  border-color: var(--color-teal);
}

.button-secondary:hover {
  color: var(--color-white);
  background: var(--color-teal-dark);

  border-color: var(--color-teal-dark);
}


/* ==========================================================
   4. Merkmalsleiste
   ========================================================== */

.trust-bar {
  padding: 0;

  color: var(--color-white);
  background: var(--color-violet);
}

.trust-list {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  min-height: 58px;

  margin: 0;
  padding: 0;

  align-items: center;

  list-style: none;
}

.trust-list li {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;
  padding: 15px 18px;

  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.trust-icon {
  color: var(--color-pink);
  font-size: 1rem;
}


/* ==========================================================
   5. Karten und Inhalte
   ========================================================== */

.card {
  height: 100%;
  padding: 26px;

  background: var(--color-surface);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);

  box-shadow: var(--shadow-small);
}

.card-icon {
  display: grid;

  width: 52px;
  height: 52px;

  margin-bottom: 18px;

  place-items: center;

  color: var(--color-white);
  background: var(--color-primary);

  border-radius: 16px;

  font-size: 1.4rem;
  font-weight: 700;
}

.card:nth-child(2n) .card-icon {
  background: var(--color-teal);
}

.card:nth-child(3n) .card-icon {
  background: var(--color-orange);
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  margin-bottom: 0;

  color: var(--color-text-light);
}

.concept-panel {
  padding: 34px;

  background: var(--color-white);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  box-shadow: var(--shadow-small);
}

.concept-panel h3 {
  margin-top: 0;
}

.concept-list {
  margin: 22px 0 0;
  padding: 0;

  list-style: none;
}

.concept-list li {
  position: relative;

  margin-bottom: 12px;
  padding-left: 30px;
}

.concept-list li::before {
  content: "✓";

  position: absolute;
  top: 0;
  left: 0;

  color: var(--color-teal);
  font-weight: 800;
}


/* ==========================================================
   6. Lebenslauf
   ========================================================== */

.timeline {
  position: relative;

  margin: 0;
  padding: 0 0 0 32px;

  list-style: none;
}

.timeline::before {
  content: "";

  position: absolute;

  top: 5px;
  bottom: 5px;
  left: 8px;

  width: 3px;

  background: var(--color-pink);
  border-radius: 99px;
}

.timeline-item {
  position: relative;

  padding: 0 0 28px 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";

  position: absolute;

  top: 7px;
  left: -31px;

  width: 16px;
  height: 16px;

  background: var(--color-primary);

  border: 4px solid var(--color-white);
  border-radius: 50%;

  box-shadow:
    0 0 0 2px var(--color-primary);
}

.timeline-date {
  display: inline-block;

  margin-bottom: 7px;

  color: var(--color-teal-dark);
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 7px;
}

.timeline-item p {
  margin-bottom: 0;

  color: var(--color-text-light);
}


/* ==========================================================
   7. Praxisinformationen
   ========================================================== */

.practice-info {
  display: grid;
  gap: 18px;
}

.info-item {
  display: flex;
  gap: 18px;

  padding: 22px;

  background: var(--color-white);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);

  box-shadow: var(--shadow-small);
}

.info-item h3 {
  margin: 0 0 8px;
}

.info-item p {
  margin-bottom: 0;
}

.info-icon {
  display: grid;

  width: 48px;
  height: 48px;

  flex: 0 0 48px;
  place-items: center;

  color: var(--color-white);
  background: var(--color-primary);

  border-radius: 50%;

  font-size: 1.3rem;
}

.contact-link {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.route-link {
  display: inline-block;

  margin-top: 10px;

  font-weight: 700;
}

.opening-hours {
  width: 100%;

  margin-top: 4px;

  border-collapse: collapse;
}

.opening-hours th,
.opening-hours td {
  padding: 8px 0;

  border-bottom:
    1px solid var(--color-border);

  text-align: left;
  vertical-align: top;
}

.opening-hours th {
  width: 55%;

  padding-right: 18px;

  color: var(--color-violet);
  font-weight: 700;
}

.opening-hours td {
  white-space: nowrap;
}

.appointments-note {
  margin-top: 14px !important;

  color: var(--color-text-light);
}


/* ==========================================================
   8. Karte
   ========================================================== */

.map-wrapper {
  overflow: hidden;

  min-height: 440px;

  background: var(--color-primary-soft);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  box-shadow: var(--shadow-small);
}

.map-wrapper iframe {
  display: block;

  width: 100%;
  height: 440px;

  border: 0;
}


/* ==========================================================
   Google Maps – Datenschutz-Platzhalter
   ========================================================== */

.map-consent {
  display: flex;
  min-height: 440px;
  padding: 42px;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    linear-gradient(145deg,
      var(--color-primary-soft),
      var(--color-teal-soft));
}


/* Standort-Symbol */

.map-consent-icon {
  display: grid;

  width: 64px;
  height: 64px;

  margin-bottom: 20px;

  place-items: center;

  color: var(--color-white);
  background: var(--color-primary);

  border-radius: 50%;

  font-size: 1.8rem;

  box-shadow: var(--shadow-small);
}


/* Überschrift */

.map-consent h3 {
  margin: 0 0 14px;

  color: var(--color-violet);

  font-size: 1.55rem;
}


/* Hinweistext */

.map-consent p {
  max-width: 480px;

  margin: 0 0 24px;

  color: var(--color-text-light);

  line-height: 1.65;
}


/* Button */

.map-consent .button {
  width: auto;
  min-width: 150px;
}

/* ==========================================================
   9. Kontaktformular
   ========================================================== */

.contact-form {
  padding: 34px;

  background: var(--color-white);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);

  box-shadow: var(--shadow-medium);
}

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;

  gap: 7px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--color-violet);
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;

  color: var(--color-text);
  background: var(--color-white);

  border: 1px solid #cdbac5;
  border-radius: var(--radius-small);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);

  outline:
    3px solid rgba(155, 31, 99, 0.15);
}

.checkbox-row {
  display: flex;

  gap: 10px;
  align-items: flex-start;
}

.checkbox-row input {
  width: 18px;
  height: 18px;

  margin-top: 3px;

  flex: 0 0 auto;

  accent-color: var(--color-primary);
}

.form-status {
  min-height: 24px;

  margin: 14px 0 0;

  color: var(--color-success);
  font-weight: 700;
}

.form-status.error {
  color: var(--color-error);
}


/* ==========================================================
   10. Footer
   ========================================================== */

.site-footer {
  padding: 44px 0 24px;

  color:
    rgba(255, 255, 255, 0.88);

  background: var(--color-violet);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.3fr 1fr 1fr;

  gap: 30px;
}

.footer-title {
  margin: 0 0 12px;

  color: var(--color-white);
  font-size: 1.15rem;
}

.site-footer a {
  color: #f5b3d1;
}

.footer-links {
  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-links li+li {
  margin-top: 6px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;

  border-top:
    1px solid rgba(255, 255, 255, 0.18);

  font-size: 0.86rem;
  text-align: center;
}

/* ======================================================
   Header-Logo – responsiv
   ====================================================== */

.site-header .brand img {
  width: 66px;
  height: 66px;
  max-width: 66px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* ======================================================
   Datenschutz – Abschnittsabstände
   ====================================================== */

.privacy-section {
  margin-top: 3rem;
}

/* ======================================================
   Datenschutz – optimale Textbreite
   ====================================================== */

.privacy-section p,
.privacy-section address {
  max-width: 75ch;
}

/* ======================================================
   Datenschutz – responsive Überschriften
   ====================================================== */

.privacy-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
}