/*
Theme Name: Tango Coaching Design
Theme URI: https://tangocoaching.de/
Author: Tango Coaching
Description: Inhaltsneutrales WordPress-Theme für tangocoaching.de. Helle, klare Seitenaufteilung mit großformatigen Bildbereichen, Kartenlayout und Blog-Seitenleiste – angelehnt an die ruhige, kreative Struktur von Radiate. Texte und Bilder werden ausschließlich als WordPress-Inhalte gepflegt.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tangocoaching-design
*/

:root {
  --tc-accent: #55bfae;
  --tc-accent-dark: #277c73;
  --tc-ink: #2c3131;
  --tc-muted: #697271;
  --tc-bg: #f1f4f3;
  --tc-paper: #ffffff;
  --tc-soft: #e7efed;
  --tc-border: rgba(44,49,49,.13);
  --tc-shadow: 0 10px 30px rgba(31,45,43,.09);
  --tc-radius: 6px;
  --tc-max: 1180px;
  --tc-reading: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tc-bg);
  color: var(--tc-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--tc-accent-dark); text-underline-offset: .18em; }
a:hover { color: var(--tc-accent); }
button, input, select, textarea { font: inherit; }

.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;
}
.screen-reader-text:focus {
  clip: auto !important; width: auto; height: auto; margin: 8px; padding: 10px 14px;
  background: #fff; color: #111; z-index: 100000;
}

.tc-site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.97);
  border-top: 4px solid var(--tc-accent);
  box-shadow: 0 1px 0 var(--tc-border);
}
.tc-header-inner {
  width: min(var(--tc-max), calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.tc-branding { min-width: 0; }
.tc-site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
}
.tc-site-title a { color: var(--tc-ink); text-decoration: none; }
.tc-site-description {
  margin: 7px 0 0;
  color: var(--tc-muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tc-menu-toggle {
  display: none;
  border: 1px solid var(--tc-border);
  border-radius: 4px;
  background: #fff;
  color: var(--tc-ink);
  padding: 9px 12px;
  cursor: pointer;
}
.tc-primary-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tc-primary-nav a {
  display: block;
  padding: 31px 0 28px;
  color: #515958;
  text-decoration: none;
  font-size: .91rem;
  border-bottom: 3px solid transparent;
}
.tc-primary-nav a:hover,
.tc-primary-nav .current-menu-item > a,
.tc-primary-nav .current_page_item > a {
  color: var(--tc-accent-dark);
  border-bottom-color: var(--tc-accent);
}

.tc-main { min-height: 60vh; }
.tc-content-wrap {
  width: min(var(--tc-max), calc(100% - 40px));
  margin: 50px auto 70px;
}
.tc-page-article,
.tc-post-article,
.tc-loop-card,
.tc-sidebar-box {
  background: var(--tc-paper);
  border: 1px solid var(--tc-border);
  box-shadow: var(--tc-shadow);
}
.tc-page-article { overflow: hidden; }
.tc-page-article > .entry-content { margin: 0; }
.entry-content::after { content: ""; display: block; clear: both; }
.entry-content > *:not(.alignfull):not(.alignwide):not(.wp-block-cover):not(.tc-full-width) {
  max-width: var(--tc-reading);
  margin-left: auto;
  margin-right: auto;
}
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > details,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-group:not(.alignfull):not(.alignwide) {
  padding-left: 34px;
  padding-right: 34px;
}
.entry-content > p:first-child { margin-top: 38px; }
.entry-content > *:last-child { margin-bottom: 48px; }
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.18;
  color: #27302f;
}
.entry-content h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-top: 1.55em; margin-bottom: .55em; }
.entry-content h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 1.45em; margin-bottom: .45em; }
.entry-content p { margin-top: 0; margin-bottom: 1.15em; }
.entry-content blockquote {
  margin-top: 32px;
  margin-bottom: 32px;
  border-left: 4px solid var(--tc-accent);
  color: #4d5756;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-style: italic;
}
.entry-content details {
  margin-top: 28px;
  margin-bottom: 28px;
}
.entry-content details summary { cursor: pointer; color: var(--tc-accent-dark); font-weight: 700; }

/* Gutenberg content patterns used by the companion content installer. */
.entry-content .tc-hero-cover {
  min-height: clamp(390px, 56vw, 620px) !important;
  margin: 0 !important;
  border-radius: 0;
}
.entry-content .tc-hero-cover .wp-block-cover__background { background: linear-gradient(90deg, rgba(21,30,29,.72), rgba(21,30,29,.28)) !important; opacity: 1 !important; }
.entry-content .tc-hero-cover .wp-block-cover__inner-container {
  width: min(var(--tc-max), calc(100% - 48px));
  margin: 0 auto;
}
.entry-content .tc-hero-copy { max-width: 760px; margin: 0 !important; padding: 0 !important; }
.entry-content .tc-hero-copy h1,
.entry-content .tc-hero-copy h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  text-shadow: 0 2px 24px rgba(0,0,0,.22);
}
.entry-content .tc-hero-copy p {
  max-width: 690px;
  margin: 0 0 1em;
  padding: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.entry-content .tc-hero-copy .tc-kicker {
  margin-bottom: 13px;
  color: #dff7f2;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tc-section-block {
  max-width: none !important;
  margin: 0 !important;
  padding: 72px max(34px, calc((100% - var(--tc-reading)) / 2));
}
.tc-section-block.tc-section-soft { background: #f7f9f8; }
.tc-section-block.tc-section-mint { background: var(--tc-soft); }
.tc-section-block.tc-section-dark { background: #2f3a39; color: #f4f7f6; }
.tc-section-block.tc-section-dark h2,
.tc-section-block.tc-section-dark h3,
.tc-section-block.tc-section-dark a { color: #fff; }
.tc-section-block.tc-section-dark a:hover { color: #bcece3; }
.tc-kicker {
  color: var(--tc-accent-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.tc-section-block .tc-section-inner { max-width: var(--tc-max); margin: 0 auto; }
.tc-section-block .wp-block-columns { max-width: var(--tc-max) !important; padding: 0 !important; gap: clamp(28px, 5vw, 64px); }
.tc-section-block .wp-block-column > :first-child { margin-top: 0; }
.tc-section-block .wp-block-column > :last-child { margin-bottom: 0; }
.tc-card-grid { max-width: var(--tc-max) !important; display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; padding: 0 !important; }
.tc-card-grid > .wp-block-group {
  margin: 0 !important;
  padding: 28px !important;
  background: #fff;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius);
  box-shadow: 0 5px 20px rgba(31,45,43,.06);
}
.tc-card-grid h3 { margin-top: 0; }
.tc-image-grid {
  max-width: var(--tc-max) !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
  padding: 0 !important;
}
.tc-image-grid .wp-block-image { margin: 0 !important; overflow: hidden; background: #e5e9e8; }
.tc-image-grid .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .35s ease; }
.tc-image-grid .wp-block-image:hover img { transform: scale(1.015); }
.tc-image-grid figcaption { margin: 0; padding: 10px 12px 12px; background: #fff; color: var(--tc-muted); font-size: .82rem; line-height: 1.45; }
.tc-price-box {
  margin-top: 28px !important;
  padding: 24px 26px !important;
  border-left: 4px solid var(--tc-accent);
  background: #f7f9f8;
}
.tc-price-box strong { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; color: var(--tc-accent-dark); }
.tc-button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px !important; padding: 0 !important; }
.tc-button-row .wp-block-button__link,
.entry-content .wp-block-button__link {
  border-radius: 3px;
  padding: 12px 19px;
  background: var(--tc-accent);
  color: #17302d;
  font-weight: 700;
  text-decoration: none;
}
.entry-content .wp-block-button__link:hover { background: #72d3c3; color: #102522; }

.tc-contact-grid { max-width: var(--tc-max) !important; display: grid !important; grid-template-columns: .82fr 1.18fr; gap: 54px; padding: 0 !important; }
.tc-contact-form {
  padding: 30px !important;
  background: #fff;
  border: 1px solid var(--tc-border);
  box-shadow: var(--tc-shadow);
}
.tc-contact-form label { display: block; font-weight: 700; font-size: .92rem; color: #34403f; }
.tc-contact-form input[type="text"],
.tc-contact-form input[type="email"],
.tc-contact-form input[type="tel"],
.tc-contact-form select,
.tc-contact-form textarea {
  width: 100%;
  margin: 7px 0 18px;
  padding: 12px 13px;
  border: 1px solid #cbd4d2;
  border-radius: 2px;
  background: #fbfcfc;
  color: var(--tc-ink);
}
.tc-contact-form input:focus,
.tc-contact-form select:focus,
.tc-contact-form textarea:focus { outline: 3px solid rgba(85,191,174,.18); border-color: var(--tc-accent-dark); }
.tc-contact-form input[type="submit"] {
  border: 0;
  border-radius: 3px;
  background: var(--tc-accent);
  color: #17302d;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}
.tc-contact-form input[type="submit"]:hover { background: #72d3c3; }
.tc-contact-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.tc-contact-form .wpcf7-acceptance input { margin-top: .4em; }
.tc-contact-form .wpcf7-not-valid-tip { margin-top: -13px; margin-bottom: 14px; color: #9b2929; font-size: .82rem; }
.tc-contact-form .wpcf7-response-output { margin: 20px 0 0 !important; }

.tc-legal-block { max-width: var(--tc-reading) !important; }
.tc-legal-block h2 { padding-top: .7em; border-top: 1px solid var(--tc-border); }
.tc-legal-note { padding: 18px 20px !important; background: #fff8de; border-left: 4px solid #d5aa36; }

/* Blog – deliberately close to the light two-column logic of Radiate. */
.tc-blog-intro { margin-bottom: 34px; }
.tc-blog-layout { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(250px, .95fr); gap: 34px; align-items: start; }
.tc-loop-card { margin-bottom: 28px; overflow: hidden; }
.tc-loop-thumb img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.tc-loop-body { padding: 30px 34px 34px; }
.tc-entry-meta { margin: 0 0 10px; color: #89918f; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.tc-loop-title { margin: 0 0 15px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 3.5vw, 2.55rem); font-weight: 400; line-height: 1.15; }
.tc-loop-title a { color: #293231; text-decoration: none; }
.tc-loop-title a:hover { color: var(--tc-accent-dark); }
.tc-readmore { font-weight: 700; text-decoration: none; }
.tc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 11px; background: #fff; border: 1px solid var(--tc-border); text-decoration: none; }
.tc-pagination .current { background: var(--tc-accent); color: #17302d; }
.tc-sidebar-box { padding: 26px; }
.tc-sidebar-box + .tc-sidebar-box { margin-top: 24px; }
.widget { margin-bottom: 30px; }
.widget:last-child { margin-bottom: 0; }
.widget-title { margin: 0 0 15px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; }
.widget ul { margin: 0; padding-left: 18px; }
.widget li + li { margin-top: 7px; }

.tc-single-layout { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(250px, .95fr); gap: 34px; align-items: start; }
.tc-post-article { overflow: hidden; }
.tc-post-header { padding: 34px 38px 12px; }
.tc-post-title { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 400; line-height: 1.08; }
.tc-post-featured img { display: block; width: 100%; max-height: 640px; object-fit: cover; }
.tc-post-article .entry-content { padding-bottom: 20px; }

.tc-site-footer {
  background: #2e3736;
  color: #cbd4d2;
  border-top: 5px solid var(--tc-accent);
}
.tc-footer-inner {
  width: min(var(--tc-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tc-footer-inner a { color: #edf5f3; text-decoration: none; }
.tc-footer-menu ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }

@media (max-width: 900px) {
  .tc-menu-toggle { display: inline-flex; }
  .tc-primary-nav { display: none; position: absolute; left: 20px; right: 20px; top: 88px; padding: 10px 18px; background: #fff; border: 1px solid var(--tc-border); box-shadow: var(--tc-shadow); }
  .tc-primary-nav.is-open { display: block; }
  .tc-primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .tc-primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--tc-border); }
  .tc-card-grid, .tc-image-grid { grid-template-columns: 1fr; }
  .tc-image-grid .wp-block-image img { aspect-ratio: 16 / 10; }
  .tc-contact-grid, .tc-blog-layout, .tc-single-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .tc-header-inner, .tc-content-wrap, .tc-footer-inner { width: min(100% - 26px, var(--tc-max)); }
  .tc-header-inner { min-height: 72px; }
  .tc-site-description { display: none; }
  .tc-primary-nav { top: 72px; left: 13px; right: 13px; }
  .tc-content-wrap { margin-top: 24px; }
  .entry-content > p,
  .entry-content > ul,
  .entry-content > ol,
  .entry-content > blockquote,
  .entry-content > h2,
  .entry-content > h3,
  .entry-content > h4,
  .entry-content > details,
  .entry-content > .wp-block-columns,
  .entry-content > .wp-block-group:not(.alignfull):not(.alignwide) { padding-left: 22px; padding-right: 22px; }
  .tc-section-block { padding: 54px 22px; }
  .entry-content .tc-hero-cover .wp-block-cover__inner-container { width: calc(100% - 34px); }
  .tc-loop-body, .tc-post-header { padding-left: 24px; padding-right: 24px; }
  .tc-contact-form { padding: 22px !important; }
}

.custom-logo { display: block; width: auto; max-height: 64px; }
.tc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.tc-blog-layout--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 680px) { .tc-form-grid { grid-template-columns: 1fr; gap: 0; } }
