/* ===== Praxis Tanja Störing — modernes Mini-Template ===== */

:root {
  --bg:           #fafaf7;
  --bg-card:      #ffffff;
  --bg-soft:      #f3ece2;
  --text:         #2a2520;
  --text-soft:    #6b6058;
  --accent:       #b85a3a;
  --accent-dark:  #8f4226;
  --border:       #e8e1d5;
  --shadow:       0 2px 12px rgba(40, 30, 20, 0.06);
  --shadow-lg:    0 8px 32px rgba(40, 30, 20, 0.10);
  --radius:       14px;
  --max-width:    1140px;
  --font-sans:    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif:   "Cormorant Garamond", "EB Garamond", Garamond, Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--accent);
  text-decoration: none;
  transition: color .15s;
}
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.brand-name a { color: inherit; }
.brand-name a:hover { color: var(--accent); text-decoration: none; }
.brand-tag {
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ----- Navigation ----- */
.nav-toggle { display: none; }
.site-nav ul {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  color: var(--text);
  font-size: 15px;
  padding: 6px 0;
  position: relative;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a.current { color: var(--accent); }
.site-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0; background: var(--accent);
  transition: width .2s;
}
.site-nav a:hover::after,
.site-nav a.current::after { width: 100%; }

/* ----- Hero / Page Header ----- */
.hero {
  background:
    linear-gradient(135deg, rgba(184,90,58,0.10), rgba(243,236,226,0.6)),
    var(--bg-soft);
  padding: 80px 24px 90px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../img/hintergrund.jpg');
  background-size: cover; background-position: center;
  opacity: 0.10;
  z-index: 0;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; z-index: 1; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--text);
}
.hero .lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text-soft);
  margin: 0 0 28px;
  line-height: 1.5;
}
.page-header {
  background: var(--bg-soft);
  padding: 64px 24px 48px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 500;
  margin: 0;
  color: var(--text);
}
.page-header .breadcrumb {
  font-size: 13px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

/* ----- Button ----- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent); color: #fff; }

/* ----- Main layout ----- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  padding: 64px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.content { min-width: 0; }
.content h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  margin: 48px 0 16px;
  color: var(--text);
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 8px;
  color: var(--accent);
}
.content p { margin: 0 0 16px; }
.content ul { padding-left: 22px; }
.content ul li { margin-bottom: 6px; }

/* ----- Sidebar ----- */
.sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  align-self: start;
  position: sticky; top: 100px;
}
.sidebar h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 8px;
}
.sidebar h3:not(:first-child) { margin-top: 28px; }
.sidebar p { margin: 0 0 8px; font-size: 15px; color: var(--text-soft); }
.sidebar .phone, .sidebar .mail {
  display: block;
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
}
.sidebar a:hover { text-decoration: none; }

/* ----- Service grid (Leistungen) ----- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.service {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .15s, box-shadow .15s;
}
.service:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.service h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
}
.service p { font-size: 15px; color: var(--text-soft); margin: 0; line-height: 1.5; }

/* ----- Image strip (Praxis-Fotos) ----- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.photo-strip img {
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

/* ----- Tanja portrait ----- */
.portrait-row {
  display: flex; gap: 28px; align-items: flex-start;
  margin: 0 0 32px;
}
.portrait-row img {
  width: 200px; flex-shrink: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.portrait-row .portrait-text { flex: 1; }
.unterschrift { width: 180px; margin: 12px 0 0; opacity: 0.9; }

/* ----- Contact cards ----- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
}
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none !important;
  color: var(--text) !important;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.contact-card .icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--bg-soft);
  color: var(--accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.contact-card-text { display: flex; flex-direction: column; min-width: 0; }
.contact-card-label {
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.contact-card-value {
  font-size: 19px; font-weight: 500; color: var(--text);
  margin-top: 4px; line-height: 1.2;
  word-break: break-word;
}

/* ----- Form ----- */
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-form label {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--text-soft); margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit; font-size: 16px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 16px;
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .required { color: var(--accent); }
.form-note { font-size: 13px; color: var(--text-soft); margin: 12px 0 0; }

/* ----- Map ----- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 32px 0;
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ----- Footer ----- */
.site-footer {
  background: #2a2520;
  color: #c4b9ad;
  padding: 48px 24px 28px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.footer-inner h4 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 500;
  color: #fff;
  margin: 0 0 12px;
}
.footer-inner p, .footer-inner li { font-size: 14px; line-height: 1.6; margin: 0 0 4px; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; }
.footer-inner a { color: #e8d5c4; }
.footer-inner a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid #4a4138;
  font-size: 13px;
  color: #8a7d70;
  text-align: center;
}

/* ----- Responsive ----- */
@media (max-width: 880px) {
  .with-sidebar { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }
  .sidebar { position: static; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: transparent; border: 1.5px solid var(--border);
    border-radius: 8px; cursor: pointer; color: var(--text);
  }
  .site-nav { display: none; width: 100%; }
  .site-nav.open {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .site-nav ul { flex-direction: column; gap: 0; padding: 12px 24px 20px; }
  .site-nav li { border-bottom: 1px solid var(--border); }
  .site-nav li:last-child { border-bottom: none; }
  .site-nav a { display: block; padding: 14px 0; }
  .header-inner { flex-wrap: wrap; }
  .hero { padding: 56px 20px 64px; }
  .page-header { padding: 48px 20px 32px; }
  .portrait-row { flex-direction: column; }
  .portrait-row img { width: 100%; max-width: 280px; }
  .photo-strip { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand-name { font-size: 22px; }
  .brand-tag { font-size: 11px; }
}
