/* ariodent.de — shared styles for all pages */

@font-face { font-family: "Urbanist"; font-weight: 600; font-display: swap; src: url(../fonts/urbanist-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 700; font-display: swap; src: url(../fonts/urbanist-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 800; font-display: swap; src: url(../fonts/urbanist-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(../fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url(../fonts/dm-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(../fonts/dm-sans-latin-700-normal.woff2) format("woff2"); }

:root {
  --navy: #14367a;
  --navy-dark: #0b2152;
  --ink: #0f1f3d;
  --night: #0a1426;
  --text: #1b2433;
  --muted: #3d4a5c;
  --muted-on-dark: #c9d3e3;
  --line: #e3e8f0;
  --mist: #f4f7fb;
  --field: #f1f4f9;
  --accent: #3ccfb4;
  --accent-soft: rgba(60, 207, 180, 0.2);
  --font-head: "Urbanist", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; }
p { margin: 0; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.mist { background: var(--mist); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lead, .section.dark .muted { color: var(--muted-on-dark); }
.bg-scan-jaw { background: linear-gradient(90deg, rgba(10,16,30,.96) 0%, rgba(10,16,30,.88) 45%, rgba(10,16,30,.35) 100%), url(../img/bg-scan-jaw.webp) right center / cover, var(--ink); }
.bg-scan-articulator { background: linear-gradient(180deg, rgba(10,16,30,.55) 0%, rgba(10,16,30,.8) 100%), url(../img/bg-scan-articulator.webp) center / cover, var(--ink); }

.eyebrow { display: block; font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy); }
.dark .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.h2 { font-weight: 800; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.8px; }
.lead { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600; border-radius: 12px; padding: 15px 25px; border: 1.5px solid var(--navy); min-height: 48px; cursor: pointer; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); }
.text-link { color: var(--navy); font-weight: 600; text-decoration: none; padding: 8px 0; display: inline-block; }
.text-link:hover { text-decoration: underline; }

/* Top bar + header */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.topbar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-header .logo img { height: 84px; width: auto; }
@media (max-width: 640px) { .site-header .logo img { height: 64px; } }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-weight: 500; font-size: 16px; }
.main-nav > a:not(.btn) { color: var(--text); text-decoration: none; }
.main-nav > a:not(.btn):hover { color: var(--navy); }
.lang { display: flex; gap: 6px; font-size: 14px; color: #4a5568; }
.lang a { color: #4a5568; text-decoration: none; }
.lang strong { color: var(--navy); }
.main-nav .btn { padding: 11px 18px; min-height: 44px; }

/* Hero */
.hero { background: var(--mist); }
.hero .wrap { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #dbe3ee; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--navy); }
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-weight: 800; font-size: clamp(38px, 5.5vw, 56px); line-height: 1.08; letter-spacing: -1.5px; }
.hero .lead { font-size: 19px; max-width: 540px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: #2d3a4e; font-weight: 500; }
.checks li { display: flex; gap: 8px; align-items: center; }
.hero-visual { position: relative; border-radius: 24px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; right: 24px; bottom: 24px; width: 140px; height: 140px; border-radius: 50%; background: var(--accent-soft); }
.hero-visual img { position: relative; z-index: 1; width: 100%; max-width: 480px; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.offer { background: #fff; border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.35); color: var(--text); }
.offer h3, .section.dark .offer h3 { font-size: 26px; font-weight: 700; color: var(--ink); }
.offer p, .offer ol { color: var(--muted); }
.offer ol { margin: 0; padding-left: 20px; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.offer .text-link { margin-top: auto; align-self: flex-start; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); display: flex; align-items: center; justify-content: center; }

.model { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.model-img { height: 240px; display: flex; align-items: center; justify-content: center; padding: 16px; border-bottom: 1px solid var(--line); }
.model-img img { max-height: 100%; width: auto; }
.model-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.model-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.model h3 { font-size: 28px; font-weight: 800; }
.badge { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.claim { font-weight: 600; color: var(--navy); }
.model .desc { color: var(--muted); font-size: 16px; }
.fit { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.fit strong { color: var(--ink); }

/* Comparison */
.table-card { overflow-x: auto; border-radius: 16px; background: #fff; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; color: var(--muted); }
.compare thead tr { background: var(--mist); text-align: left; }
.compare th, .compare td { padding: 16px 24px; text-align: left; }
.compare thead th { font-family: var(--font-head); font-size: 20px; color: var(--ink); padding-top: 18px; padding-bottom: 18px; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.shared { margin-top: 20px; background: rgba(255,255,255,.08); border-radius: 14px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--muted-on-dark); }
.shared strong { color: #fff; }
.shared small { font-size: 14px; }
.note { margin-top: 16px; font-size: 15px; color: var(--muted-on-dark); }

/* Quote */
.quote { max-width: 900px; margin: 0 auto; padding: 96px 24px 72px; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.3; color: var(--ink); letter-spacing: -0.5px; }
.quote p { color: var(--muted); }
.quote p strong { color: var(--ink); }

/* Instagram */
.ig { padding-bottom: 96px; }
.ig-head { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.ig-head .h2 { font-size: 32px; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.ig-tile { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: #eef2f8; cursor: pointer; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; }
.ig-play { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(10,16,30,.7); display: flex; align-items: center; justify-content: center; }
.ig-stats { position: absolute; inset: 0; background: rgba(10,16,30,.6); color: #fff; display: flex; gap: 20px; align-items: center; justify-content: center; font-weight: 700; opacity: 0; transition: opacity .15s; }
.ig-stats span { display: flex; gap: 6px; align-items: center; }
.ig-tile:hover .ig-stats, .ig-tile:focus-visible .ig-stats { opacity: 1; }
.ig-modal { border: 0; padding: 0; background: transparent; max-width: 960px; width: calc(100% - 48px); }
.ig-modal::backdrop { background: rgba(10,16,30,.82); }
.ig-modal-inner { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-wrap: wrap; max-height: calc(100vh - 48px); overflow-y: auto; }
.ig-media { flex: 1 1 420px; min-width: 0; background: var(--night); display: flex; align-items: center; justify-content: center; }
.ig-media img, .ig-media video { width: 100%; max-height: 600px; object-fit: contain; }
.ig-info { flex: 1 1 300px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ig-info-top { display: flex; justify-content: space-between; align-items: center; }
.ig-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mist); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ig-caption { color: var(--muted); font-size: 16px; white-space: pre-line; }
.ig-counts { display: flex; gap: 20px; color: var(--ink); font-weight: 600; font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
.ig-date { font-size: 14px; color: #4a5568; }
.ig-info .btn { margin-top: auto; align-self: flex-start; }

/* Reasons + steps */
.reason { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--accent); padding-top: 20px; }
.reason h3 { font-size: 20px; font-weight: 700; }
.reason p { color: var(--muted-on-dark); font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { background: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-copy .h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -1px; }
.channels { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.channel { display: flex; gap: 14px; align-items: center; color: #fff; text-decoration: none; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); }
.channel:hover { background: rgba(255,255,255,.12); color: #fff; }
.channel-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.channel span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.channel small { color: var(--muted-on-dark); font-size: 15px; }
.address { color: var(--muted-on-dark); font-size: 15px; margin-top: 8px; }

.form { flex: 1.3 1 460px; min-width: 0; background: #fff; color: var(--ink); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-weight: 700; font-size: 17px; margin-bottom: 12px; padding: 0; }
.goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.goal-card { display: flex; flex-direction: column; gap: 6px; border-radius: 16px; padding: 16px; border: 1.5px solid #dbe3ee; background: #fff; height: 100%; }
.goal-card strong { font-family: var(--font-head); font-size: 17px; }
.goal-card span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.choice input:checked + .goal-card { border: 2px solid var(--navy); background: var(--accent-soft); padding: 15.5px; }
.choice input:focus-visible + .goal-card, .choice input:focus-visible + .chip { outline: 3px solid var(--navy); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 18px; min-height: 44px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; background: var(--field); color: var(--ink); }
.choice input:checked + .chip { background: var(--navy); color: #fff; border-color: var(--navy); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { padding: 0 16px; height: 52px; border: 1.5px solid transparent; border-radius: 14px; background: var(--field); color: var(--ink); font-size: 16px; font-weight: 400; }
.field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(20,54,122,.12); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { width: 100%; height: 60px; border: 0; border-radius: 16px; background: var(--navy); color: #fff; font-weight: 700; font-size: 17px; cursor: pointer; display: flex; gap: 10px; align-items: center; justify-content: center; }
.send:hover { background: var(--navy-dark); }
.send[disabled] { opacity: .6; cursor: wait; }
.form-status { font-size: 15px; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #0d7a5f; }
.form-status.err { color: #b42318; }

/* Footer */
.site-footer { background: var(--night); color: var(--muted-on-dark); font-size: 15px; border-top: 1px solid #1d2c4a; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.footer-brand img { height: 76px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a, .link-button { color: #fff; }
.link-button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 15px; }
.footer-bottom { border-top: 1px solid #24365a; }
.footer-bottom .wrap { padding-top: 18px; padding-bottom: 18px; font-size: 14px; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.legal p, .legal ul { margin: 0 0 14px; color: var(--muted); }
.legal strong { color: var(--ink); }
.legal .box { background: var(--mist); border-left: 4px solid var(--navy); padding: 16px 20px; border-radius: 4px; margin: 0 0 16px; color: var(--text); }
.legal .todo { background: #fff4d6; padding: 0 4px; border-radius: 3px; }

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .form { padding: 24px; }
  .main-nav { gap: 8px 18px; }
}

/* Klaro cookie banner in ariodent colours */
.klaro { --green1: #14367a; --green2: #0b2152; --green3: #14367a; --blue1: #14367a; --button-text-color: #fff; font-family: var(--font-body); }
.klaro .cookie-notice:not(.cookie-modal-notice) { border-radius: 16px 16px 0 0; box-shadow: 0 -8px 32px rgba(10,20,38,.18); }
